Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001358/0.001358, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001738/0.001739, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 67.89 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7985/0.7998, allocations: 140.3 MB / 0.9489 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002053/0.8019, allocations: 0.8807 MB / 0.9498 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001169/0.802, allocations: 41.28 kB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.8021, allocations: 5.312 kB / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.929e-05/0.8022, allocations: 11.92 kB / 0.9498 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.8023, allocations: 5.312 kB / 0.9498 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.541e-05/0.8023, allocations: 14.75 kB / 0.9499 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.8024, allocations: 51.28 kB / 0.9499 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.8026, allocations: 47.08 kB / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.246e-05/0.8027, allocations: 22.73 kB / 0.95 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.8027, allocations: 33.23 kB / 0.95 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.8028, allocations: 2.75 kB / 0.95 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.8028, allocations: 4.125 kB / 0.95 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.998e-05/0.8028, allocations: 14.67 kB / 0.95 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.8029, allocations: 26.69 kB / 0.95 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.913e-05/0.803, allocations: 78.03 kB / 0.9501 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.803, allocations: 0 / 0.9501 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.803, allocations: 0 / 0.9501 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.803, allocations: 0 / 0.9501 GB, free: 8.328 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.0004421/0.8034, allocations: 378.5 kB / 0.9505 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.8035, allocations: 8.938 kB / 0.9505 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.8035, allocations: 10.41 kB / 0.9505 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.8037, allocations: 194.2 kB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.8037, allocations: 3.719 kB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.8038, allocations: 8.469 kB / 0.9507 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.8039, allocations: 91.98 kB / 0.9508 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.8039, allocations: 8.125 kB / 0.9508 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.804, allocations: 5.062 kB / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.804, allocations: 6.234 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.8041, allocations: 39.48 kB / 0.9508 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.8045, allocations: 436.3 kB / 0.9513 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.393e-05/0.8046, allocations: 46.44 kB / 0.9513 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.8046, allocations: 14.84 kB / 0.9513 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.8046, allocations: 1.281 kB / 0.9513 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.8046, allocations: 35.81 kB / 0.9513 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.8047, allocations: 4 kB / 0.9514 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001772/0.8048, allocations: 59.66 kB / 0.9514 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.8049, allocations: 77.11 kB / 0.9515 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.805, allocations: 163.1 kB / 0.9516 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.805, allocations: 27.27 kB / 0.9517 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.8051, allocations: 107.8 kB / 0.9518 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.8051, allocations: 13.06 kB / 0.9518 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.8051, allocations: 16.62 kB / 0.9518 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.8052, allocations: 325.8 kB / 0.9521 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.8052, allocations: 2.656 kB / 0.9521 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.8052, allocations: 20.09 kB / 0.9521 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.476e-05/0.8053, allocations: 29.3 kB / 0.9522 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.8053, allocations: 0 / 0.9522 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.156e-05/0.8053, allocations: 59.67 kB / 0.9522 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.8054, allocations: 5.438 kB / 0.9522 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.8054, allocations: 3.938 kB / 0.9522 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.8054, allocations: 1.312 kB / 0.9522 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.8055, allocations: 9.391 kB / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.8055, allocations: 5.891 kB / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.8055, allocations: 5.594 kB / 0.9522 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.8055, allocations: 1.188 kB / 0.9522 GB, free: 6.156 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 6.24e-05/0.8056, allocations: 113.6 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.8056, allocations: 11.16 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.8057, allocations: 19.38 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.8057, allocations: 0 / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.8057, allocations: 1.438 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.8057, allocations: 3.984 kB / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.806, allocations: 475 kB / 0.9528 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.806, allocations: 0 / 0.9528 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.806, allocations: 8.188 kB / 0.9528 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.806, allocations: 0 / 0.9528 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.806, allocations: 5.375 kB / 0.9529 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.806, allocations: 0 / 0.9529 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.806, allocations: 1.375 kB / 0.9529 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.76e-05/0.8061, allocations: 78.02 kB / 0.9529 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.8062, allocations: 92.64 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.8062, allocations: 4.875 kB / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.8062, allocations: 0 / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.8062, allocations: 9.109 kB / 0.953 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.8062, allocations: 1.5 kB / 0.953 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.273e-05/0.8063, allocations: 117.1 kB / 0.9531 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.71e-07/0.8063, allocations: 0 / 0.9531 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001796/0.8065, allocations: 10.31 kB / 0.9532 GB, free: 5.203 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 9.67e-05/0.8066, allocations: 104.8 kB / 0.9533 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.245e-05/0.8067, allocations: 14.91 kB / 0.9533 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8067, allocations: 0 / 0.9533 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.8067, allocations: 12.09 kB / 0.9533 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.8069, allocations: 8.125 kB / 0.9533 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.8072, allocations: 182.1 kB / 0.9535 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.8074, allocations: 0.6913 MB / 0.9541 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.392e-05/0.8075, allocations: 8.422 kB / 0.9541 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.8075, allocations: 16.19 kB / 0.9542 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.8075, allocations: 0 / 0.9542 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of Templates: time 0.002632/0.8101, allocations: 437.5 kB / 0.9546 GB, free: 3.973 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches