Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.508/1.508, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.491/2.491, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003194, allocations: 8 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6366/0.6369, allocations: 142.4 MB / 0.9557 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0008112/0.6377, allocations: 0.5374 MB / 0.9562 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.962e-05/0.6378, allocations: 40.41 kB / 0.9563 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.6379, allocations: 6.25 kB / 0.9563 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.6379, allocations: 3.938 kB / 0.9563 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.438e-05/0.638, allocations: 8.969 kB / 0.9563 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.877e-05/0.638, allocations: 15.2 kB / 0.9563 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.239e-05/0.6381, allocations: 55.19 kB / 0.9564 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.6383, allocations: 38.66 kB / 0.9564 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.6383, allocations: 21.22 kB / 0.9564 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.6384, allocations: 23.77 kB / 0.9564 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.6384, allocations: 2.156 kB / 0.9564 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-06/0.6384, allocations: 1 kB / 0.9564 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.6384, allocations: 14.91 kB / 0.9565 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.6384, allocations: 50.98 kB / 0.9565 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.028e-05/0.6385, allocations: 47.23 kB / 0.9566 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6385, allocations: 1.219 kB / 0.9566 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6385, allocations: 4 kB / 0.9566 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.6385, allocations: 0 / 0.9566 GB, free: 7.152 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.0002812/0.6388, allocations: 361.1 kB / 0.9569 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.6389, allocations: 10 kB / 0.9569 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.6389, allocations: 13.59 kB / 0.9569 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.639, allocations: 198.3 kB / 0.9571 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.6391, allocations: 2.594 kB / 0.9571 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.6391, allocations: 9.875 kB / 0.9571 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.6392, allocations: 95.02 kB / 0.9572 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.6392, allocations: 4.125 kB / 0.9572 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.6392, allocations: 13.48 kB / 0.9572 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6393, allocations: 1.344 kB / 0.9572 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.805e-05/0.6393, allocations: 35.83 kB / 0.9573 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.6397, allocations: 438 kB / 0.9577 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.688e-05/0.6398, allocations: 32.72 kB / 0.9577 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.6398, allocations: 19.72 kB / 0.9577 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.6398, allocations: 1.375 kB / 0.9577 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.6398, allocations: 44.14 kB / 0.9578 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6399, allocations: 0 / 0.9578 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001438/0.64, allocations: 59.3 kB / 0.9578 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.64, allocations: 77.11 kB / 0.9579 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.6401, allocations: 161 kB / 0.9581 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.6402, allocations: 29.64 kB / 0.9581 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.6402, allocations: 108.6 kB / 0.9582 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-06/0.6402, allocations: 9.094 kB / 0.9582 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.6402, allocations: 10.84 kB / 0.9582 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.6403, allocations: 320.9 kB / 0.9585 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.6403, allocations: 6.75 kB / 0.9585 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.794e-05/0.6403, allocations: 21.7 kB / 0.9585 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/0.6404, allocations: 31.48 kB / 0.9586 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6404, allocations: 4 kB / 0.9586 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.984e-05/0.6404, allocations: 51.8 kB / 0.9586 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.6405, allocations: 4.438 kB / 0.9586 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6405, allocations: 4.938 kB / 0.9586 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.6405, allocations: 1.094 kB / 0.9586 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.6405, allocations: 13.92 kB / 0.9587 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.6406, allocations: 0 / 0.9587 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.6406, allocations: 9.969 kB / 0.9587 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.6406, allocations: 2 kB / 0.9587 GB, free: 4.992 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 4.712e-05/0.6406, allocations: 113.1 kB / 0.9588 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.6407, allocations: 12.38 kB / 0.9588 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.6407, allocations: 10.62 kB / 0.9588 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.6407, allocations: 1.25 kB / 0.9588 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6407, allocations: 3.984 kB / 0.9588 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6407, allocations: 5.281 kB / 0.9588 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.641, allocations: 473.9 kB / 0.9593 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.641, allocations: 1.438 kB / 0.9593 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.641, allocations: 2.531 kB / 0.9593 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.641, allocations: 1 kB / 0.9593 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.641, allocations: 5.906 kB / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.641, allocations: 0 / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.6411, allocations: 0 / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.747e-05/0.6411, allocations: 87.08 kB / 0.9594 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.6412, allocations: 92.2 kB / 0.9594 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.6412, allocations: 0 / 0.9594 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.6412, allocations: 1.156 kB / 0.9594 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.6412, allocations: 5.047 kB / 0.9594 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.6412, allocations: 1.188 kB / 0.9594 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.163e-05/0.6413, allocations: 120.7 kB / 0.9596 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6413, allocations: 0 / 0.9596 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001843/0.6415, allocations: 6.844 kB / 0.9596 GB, free: 4.047 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 7.888e-05/0.6416, allocations: 104.2 kB / 0.9597 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.694e-05/0.6416, allocations: 17.78 kB / 0.9597 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6416, allocations: 1.281 kB / 0.9597 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-06/0.6417, allocations: 7.188 kB / 0.9597 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.6418, allocations: 11.75 kB / 0.9597 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.6421, allocations: 206.5 kB / 0.9599 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.6422, allocations: 0.6917 MB / 0.9606 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.6422, allocations: 10.66 kB / 0.9606 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of SimCode: time 1.102e-06/0.6422, allocations: 5.781 kB / 0.9606 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of Templates: time 0.002012/0.6442, allocations: 0.8549 MB / 0.9614 GB, free: 2.566 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches