Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.001203/0.001203, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.478/2.478, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 76.73 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3459, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002629/0.3486, allocations: 0.8447 MB / 1.028 GB, free: 1.195 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001695/0.3488, allocations: 43.78 kB / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.01e-05/0.3489, allocations: 0 / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.193e-05/0.349, allocations: 11.86 kB / 1.028 GB, free: 1.141 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/0.3491, allocations: 3.938 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.398e-05/0.3491, allocations: 19.98 kB / 1.028 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.3493, allocations: 63.78 kB / 1.028 GB, free: 1.055 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.3495, allocations: 43.95 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.849e-05/0.3495, allocations: 23.88 kB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.3496, allocations: 27.84 kB / 1.028 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3496, allocations: 8 kB / 1.028 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.3497, allocations: 4 kB / 1.028 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.3497, allocations: 19.94 kB / 1.028 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.3497, allocations: 43.66 kB / 1.028 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.3499, allocations: 67.72 kB / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3499, allocations: 0 / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3499, allocations: 0 / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3499, allocations: 0 / 1.028 GB, free: 0.8203 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.0004924/0.3504, allocations: 380.4 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3505, allocations: 8.031 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.3505, allocations: 8.844 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.3508, allocations: 204.1 kB / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3508, allocations: 8.281 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.3508, allocations: 8.375 kB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.351, allocations: 87.95 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.351, allocations: 4.188 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.351, allocations: 3.938 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.351, allocations: 0 / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.3511, allocations: 40 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.3518, allocations: 432.5 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.217e-05/0.3518, allocations: 45.27 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.3519, allocations: 21.78 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.3519, allocations: 4 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3519, allocations: 34.56 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.3519, allocations: 0 / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001905/0.3521, allocations: 57.48 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.3522, allocations: 81.09 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3524, allocations: 162.1 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.3524, allocations: 29.89 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.3525, allocations: 108 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.425e-06/0.3525, allocations: 3.906 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.3525, allocations: 21.7 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3527, allocations: 322.8 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.3527, allocations: 3.984 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.3527, allocations: 21.72 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.243e-05/0.3528, allocations: 25.72 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3528, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.185e-05/0.3529, allocations: 61.53 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3529, allocations: 8 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3529, allocations: 3.938 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3529, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.353, allocations: 4 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.353, allocations: 7.984 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.3531, allocations: 11.91 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.3531, allocations: 8 kB / 1.03 GB, free: 14.37 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 8.8e-05/0.3532, allocations: 117.7 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.3532, allocations: 11.89 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.3532, allocations: 15.81 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3532, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3533, allocations: 4 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3533, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.3537, allocations: 470.8 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3537, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.3537, allocations: 4.094 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3537, allocations: 3.984 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3537, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3537, allocations: 3.984 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3537, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.856e-05/0.3538, allocations: 85.91 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.3539, allocations: 85 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.3539, allocations: 4 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.3539, allocations: 0 / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.3539, allocations: 7.938 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.354, allocations: 3.938 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.572e-05/0.354, allocations: 119.2 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3541, allocations: 4.031 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001904/0.3542, allocations: 8 kB / 1.031 GB, free: 13.33 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.0001175/0.3544, allocations: 95.25 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.39e-05/0.3545, allocations: 23.92 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3545, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.3545, allocations: 7.938 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.3547, allocations: 11.94 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.355, allocations: 163.1 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.3553, allocations: 0.6924 MB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.3553, allocations: 4.438 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.3553, allocations: 11.44 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/0.3553, allocations: 4 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of Templates: time 0.002569/0.3579, allocations: 452.3 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches