Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001318/0.001318, allocations: 106.7 kB / 16.36 MB, free: 5.875 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.001304/0.001304, allocations: 191 kB / 17.29 MB, free: 5.516 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 70.92 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3355, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002246/0.3378, allocations: 0.837 MB / 1.028 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001283/0.3379, allocations: 43.78 kB / 1.028 GB, free: 1.141 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.338, allocations: 4 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.3381, allocations: 11.86 kB / 1.028 GB, free: 1.125 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.3381, allocations: 7.875 kB / 1.028 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.835e-05/0.3382, allocations: 19.98 kB / 1.028 GB, free: 1.098 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3383, allocations: 59.84 kB / 1.028 GB, free: 1.039 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.3386, allocations: 43.95 kB / 1.028 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.3386, allocations: 27.81 kB / 1.028 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.3387, allocations: 27.84 kB / 1.028 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3387, allocations: 4 kB / 1.028 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.3387, allocations: 8 kB / 1.028 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.3388, allocations: 15.92 kB / 1.028 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.3388, allocations: 39.73 kB / 1.028 GB, free: 0.875 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.3389, allocations: 67.72 kB / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3389, allocations: 4 kB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3389, allocations: 3.938 kB / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.339, allocations: 0 / 1.028 GB, free: 0.8008 MB / 0.795 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.000468/0.3395, allocations: 383.2 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3395, allocations: 8.031 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.3395, allocations: 8.844 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.3398, allocations: 192.2 kB / 1.028 GB, free: 136 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3398, allocations: 12.27 kB / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3398, allocations: 8.375 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.34, allocations: 98.39 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.34, allocations: 192 / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.34, allocations: 3.938 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.34, allocations: 4 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.3401, allocations: 35.98 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.3407, allocations: 436.5 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.35e-05/0.3407, allocations: 41.2 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.3408, allocations: 17.81 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.3408, allocations: 4 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/0.3409, allocations: 38.56 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.405e-06/0.3409, allocations: 3.984 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001619/0.341, allocations: 53.48 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3411, allocations: 81.09 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.3412, allocations: 160.5 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.3412, allocations: 25.7 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.3413, allocations: 111.9 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.3413, allocations: 4.156 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.3414, allocations: 25.7 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3415, allocations: 314.8 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.3415, allocations: 7.984 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.3415, allocations: 17.72 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/0.3416, allocations: 29.66 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3416, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.044e-05/0.3417, allocations: 57.59 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3417, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3417, allocations: 11.88 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3417, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.033e-05/0.3418, allocations: 4 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3418, allocations: 3.984 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.3418, allocations: 11.84 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.3418, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 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 7.795e-05/0.3419, allocations: 121.8 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.342, allocations: 7.906 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.342, allocations: 19.8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.342, allocations: 3.938 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.342, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.342, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.3424, allocations: 466.8 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3424, allocations: 8.062 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.3424, allocations: 4 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.3424, allocations: 4 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.3424, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3425, allocations: 3.984 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3425, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.725e-05/0.3425, allocations: 85.78 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.3426, allocations: 89 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3426, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.3426, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.3427, allocations: 8 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.3427, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.434e-05/0.3428, allocations: 121.7 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3428, allocations: 3.938 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001905/0.343, allocations: 8 kB / 1.031 GB, free: 13.32 MB / 0.8106 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.000109/0.3431, allocations: 99.28 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.12e-05/0.3432, allocations: 23.92 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3432, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.026e-05/0.3432, allocations: 4 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.3433, allocations: 11.94 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.3437, allocations: 159 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.344, allocations: 0.7002 MB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.344, allocations: 4.438 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.3441, allocations: 11.44 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3441, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.002442/0.3465, allocations: 452.5 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches