Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001557/0.001557, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.373/1.373, 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.1-master/package.mo): time 2.537/2.537, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 67.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.756/0.7574, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00199/0.7594, allocations: 0.8308 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001356/0.7596, allocations: 39.84 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.7597, allocations: 4 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.7597, allocations: 7.875 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.956e-05/0.7598, allocations: 11.88 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.029e-05/0.7599, allocations: 15.97 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.76, allocations: 63.84 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.7601, allocations: 43.92 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.936e-05/0.7602, allocations: 31.8 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.7603, allocations: 31.84 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.7603, allocations: 4 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.7603, allocations: 8 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.7603, allocations: 15.92 kB / 1.21 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.7604, allocations: 35.75 kB / 1.21 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.7605, allocations: 75.62 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7605, allocations: 4 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7605, allocations: 4 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.7605, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 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.0004259/0.761, allocations: 376.8 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.761, allocations: 12.03 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.7611, allocations: 8.844 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.7613, allocations: 188.2 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.7613, allocations: 8.375 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.7613, allocations: 12.38 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.7615, allocations: 93.92 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.7615, allocations: 192 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.7615, allocations: 7.938 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.7615, allocations: 4 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.7616, allocations: 35.92 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.7621, allocations: 444.5 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.52e-05/0.7622, allocations: 41.25 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.7622, allocations: 17.78 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.7622, allocations: 0 / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.7623, allocations: 38.56 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.7623, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001668/0.7625, allocations: 57.47 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.7625, allocations: 77.11 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.7626, allocations: 160.5 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.7627, allocations: 25.7 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.7627, allocations: 104 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.258e-06/0.7628, allocations: 12.16 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.7628, allocations: 17.72 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.7629, allocations: 318.8 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/0.7629, allocations: 8 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.7629, allocations: 17.66 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.763, allocations: 29.66 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.763, allocations: 4 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.381e-05/0.7631, allocations: 61.53 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.7631, allocations: 4 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7631, allocations: 3.938 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.7631, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.815e-05/0.7632, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.7632, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.56e-05/0.7632, allocations: 15.91 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.7633, allocations: 3.984 kB / 1.212 GB, free: 10.02 MB / 0.9356 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.618e-05/0.7633, allocations: 113.9 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.7634, allocations: 11.91 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.7634, allocations: 11.81 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7634, allocations: 96 / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7634, allocations: 3.984 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7634, allocations: 0 / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.7638, allocations: 478.8 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7639, allocations: 3.984 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.7639, allocations: 4 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.7639, allocations: 0 / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.7639, allocations: 0 / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.7639, allocations: 4 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7639, allocations: 3.938 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.342e-05/0.764, allocations: 77.88 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.7641, allocations: 96.94 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.7641, allocations: 0 / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.7641, allocations: 3.938 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.7641, allocations: 4 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.7641, allocations: 0 / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.229e-05/0.7642, allocations: 121.3 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7642, allocations: 0 / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000194/0.7644, allocations: 11.91 kB / 1.213 GB, free: 8.973 MB / 0.9356 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.0001106/0.7645, allocations: 107.3 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.272e-05/0.7646, allocations: 15.94 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7646, allocations: 4 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.778e-06/0.7647, allocations: 7.938 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.7648, allocations: 7.938 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.7651, allocations: 200.7 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.7654, allocations: 0.6885 MB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.7654, allocations: 11.44 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.7654, allocations: 0 / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of Templates: time 0.002164/0.7676, allocations: 0.8677 MB / 1.215 GB, free: 6.992 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches