Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 192.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.53/2.53, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8907/0.8922, allocations: 140.4 MB / 0.9491 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00219/0.8945, allocations: 0.8814 MB / 0.95 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.8946, allocations: 42.31 kB / 0.95 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.8947, allocations: 0 / 0.95 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.36e-05/0.8947, allocations: 13.17 kB / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.889e-05/0.8949, allocations: 3.938 kB / 0.95 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.282e-05/0.8949, allocations: 19.59 kB / 0.95 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.887e-05/0.895, allocations: 56.81 kB / 0.9501 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.8952, allocations: 37.12 kB / 0.9501 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.8952, allocations: 30.86 kB / 0.9502 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.8953, allocations: 36.97 kB / 0.9502 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.8953, allocations: 6.156 kB / 0.9502 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.8953, allocations: 5.906 kB / 0.9502 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.8954, allocations: 18.67 kB / 0.9502 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.8954, allocations: 29.72 kB / 0.9502 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.791e-05/0.8955, allocations: 75.75 kB / 0.9503 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8955, allocations: 0 / 0.9503 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8955, allocations: 0 / 0.9503 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8955, allocations: 0 / 0.9503 GB, free: 8.16 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003885/0.8959, allocations: 382.3 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.896, allocations: 9.625 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.896, allocations: 14.33 kB / 0.9507 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.8962, allocations: 189.8 kB / 0.9509 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.8962, allocations: 3.125 kB / 0.9509 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.8962, allocations: 9.875 kB / 0.9509 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.8964, allocations: 90.02 kB / 0.951 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.8964, allocations: 192 / 0.951 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.8964, allocations: 13.31 kB / 0.951 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.8964, allocations: 1.375 kB / 0.951 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.681e-05/0.8965, allocations: 39.22 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.8969, allocations: 433.9 kB / 0.9515 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.416e-05/0.897, allocations: 41.28 kB / 0.9515 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.897, allocations: 19.22 kB / 0.9515 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.8971, allocations: 0 / 0.9515 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.8971, allocations: 39.97 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.8971, allocations: 1.375 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001746/0.8973, allocations: 61.84 kB / 0.9516 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.8973, allocations: 82.42 kB / 0.9517 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.8974, allocations: 163.4 kB / 0.9518 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.8975, allocations: 25.7 kB / 0.9519 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.8975, allocations: 108 kB / 0.952 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.8975, allocations: 5.281 kB / 0.952 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.8976, allocations: 21.78 kB / 0.952 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.8976, allocations: 320.5 kB / 0.9523 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.8976, allocations: 8.125 kB / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/0.8977, allocations: 21.83 kB / 0.9523 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.519e-05/0.8977, allocations: 31.27 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8977, allocations: 0 / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.915e-05/0.8978, allocations: 55.48 kB / 0.9524 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.8978, allocations: 11.59 kB / 0.9524 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8978, allocations: 3.938 kB / 0.9524 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.8978, allocations: 1.5 kB / 0.9524 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.8979, allocations: 9.766 kB / 0.9524 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8979, allocations: 3.938 kB / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.898, allocations: 2.562 kB / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.898, allocations: 1.344 kB / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.898, allocations: 113.6 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.8981, allocations: 8.25 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.8981, allocations: 18.09 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8981, allocations: 1.5 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.8981, allocations: 3.984 kB / 0.9526 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8981, allocations: 1.375 kB / 0.9526 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.8984, allocations: 473.2 kB / 0.953 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8984, allocations: 1.438 kB / 0.953 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.8984, allocations: 2.875 kB / 0.953 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.8984, allocations: 5.312 kB / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.8985, allocations: 0 / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.8985, allocations: 1.406 kB / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.8985, allocations: 0 / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.755e-05/0.8985, allocations: 86.8 kB / 0.9531 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.8986, allocations: 87.61 kB / 0.9532 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.8986, allocations: 1.406 kB / 0.9532 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/0.8986, allocations: 5.156 kB / 0.9532 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.8986, allocations: 9.203 kB / 0.9532 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.8986, allocations: 1.188 kB / 0.9532 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.674e-05/0.8987, allocations: 120.9 kB / 0.9533 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8987, allocations: 0 / 0.9533 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001837/0.8989, allocations: 7.469 kB / 0.9534 GB, free: 5.039 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.918e-05/0.899, allocations: 100.6 kB / 0.9534 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.61e-05/0.8991, allocations: 26.53 kB / 0.9535 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8991, allocations: 0 / 0.9535 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-06/0.8991, allocations: 4.344 kB / 0.9535 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.8993, allocations: 13.84 kB / 0.9535 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.8996, allocations: 185.2 kB / 0.9537 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.8997, allocations: 0.6942 MB / 0.9543 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.015e-05/0.8997, allocations: 8.328 kB / 0.9544 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.8998, allocations: 11.16 kB / 0.9544 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8998, allocations: 4 kB / 0.9544 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of Templates: time 0.002226/0.902, allocations: 449.1 kB / 0.9548 GB, free: 3.801 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches