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.001504/0.001504, allocations: 102.9 kB / 16.37 MB, free: 6.441 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.001597/0.001598, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.259/2.259, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 66.31 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3431, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002845/0.346, allocations: 0.8348 MB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001933/0.3462, allocations: 39.8 kB / 0.952 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.3463, allocations: 0 / 0.952 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.582e-05/0.3464, allocations: 7.875 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.3465, allocations: 15.86 kB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.657e-05/0.3466, allocations: 15.97 kB / 0.952 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.3468, allocations: 63.84 kB / 0.9521 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.347, allocations: 35.98 kB / 0.9521 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.3471, allocations: 27.86 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.3471, allocations: 27.8 kB / 0.9522 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.3472, allocations: 8 kB / 0.9522 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.3472, allocations: 8 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.3472, allocations: 19.92 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.3473, allocations: 31.8 kB / 0.9522 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.3474, allocations: 75.64 kB / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3474, allocations: 0 / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3474, allocations: 0 / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.3475, allocations: 3.938 kB / 0.9523 GB, free: 6.855 MB / 0.7325 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.000575/0.348, allocations: 379.2 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.3481, allocations: 8.031 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.3482, allocations: 16.84 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.3484, allocations: 196.1 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.3485, allocations: 8.375 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3485, allocations: 8.375 kB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.3487, allocations: 95.8 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3487, allocations: 192 / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3487, allocations: 7.938 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.3487, allocations: 3.984 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.061e-05/0.3488, allocations: 43.92 kB / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.3495, allocations: 428.7 kB / 0.9534 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.781e-05/0.3495, allocations: 37.19 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.3496, allocations: 25.84 kB / 0.9535 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.3496, allocations: 0 / 0.9535 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.3496, allocations: 30.56 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3496, allocations: 0 / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002036/0.3498, allocations: 61.47 kB / 0.9536 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3499, allocations: 81.11 kB / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3501, allocations: 169 kB / 0.9538 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3501, allocations: 25.7 kB / 0.9539 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.3501, allocations: 108 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.3502, allocations: 3.906 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.3502, allocations: 17.72 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3503, allocations: 322.8 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.3503, allocations: 4 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.3504, allocations: 17.72 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.965e-05/0.3504, allocations: 29.66 kB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3504, allocations: 0 / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.607e-05/0.3505, allocations: 65.53 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3505, allocations: 4 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3505, allocations: 3.938 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3506, allocations: 0 / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.3506, allocations: 8 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3506, allocations: 4.062 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.3507, allocations: 11.83 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3507, allocations: 4 kB / 0.9544 GB, free: 4.41 MB / 0.7325 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 0.0001022/0.3508, allocations: 113.8 kB / 0.9545 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.3508, allocations: 11.84 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.3509, allocations: 15.75 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3509, allocations: 4 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3509, allocations: 0 / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3509, allocations: 0 / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.3513, allocations: 474.8 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3513, allocations: 0 / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.3513, allocations: 4 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3513, allocations: 0 / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.3513, allocations: 4 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3513, allocations: 0 / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3514, allocations: 7.938 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.956e-05/0.3514, allocations: 85.89 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.3515, allocations: 81.02 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3515, allocations: 4 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.3515, allocations: 0 / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.3516, allocations: 0 / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.3516, allocations: 4 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.875e-05/0.3516, allocations: 125.3 kB / 0.9553 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3517, allocations: 4 kB / 0.9553 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001839/0.3518, allocations: 4 kB / 0.9553 GB, free: 3.375 MB / 0.7325 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 0.0001334/0.352, allocations: 103.8 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.886e-05/0.3521, allocations: 15.94 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3521, allocations: 0 / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.3521, allocations: 4 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.3523, allocations: 20.58 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.3526, allocations: 170.7 kB / 0.9556 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.3529, allocations: 0.6961 MB / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.971e-05/0.3529, allocations: 8.422 kB / 0.9563 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.353, allocations: 15.44 kB / 0.9563 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of SimCode: time 1.91e-07/0.353, allocations: 0 / 0.9563 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of Templates: time 0.002495/0.3555, allocations: 448.6 kB / 0.9568 GB, free: 1.844 MB / 0.7325 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 -s cvode -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