Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001445/0.001445, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437 MB / 0.7103 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 75.83 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7706/0.772, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002452/0.7745, allocations: 0.8326 MB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001089/0.7747, allocations: 39.84 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.7748, allocations: 0 / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.37e-05/0.7748, allocations: 7.875 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.467e-05/0.7749, allocations: 11.86 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.132e-05/0.775, allocations: 19.98 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.929e-05/0.7751, allocations: 59.84 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.7752, allocations: 43.97 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.663e-05/0.7753, allocations: 27.75 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.349e-05/0.7754, allocations: 31.84 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.7754, allocations: 4 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.7754, allocations: 8 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.7754, allocations: 15.92 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.7755, allocations: 43.73 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.7756, allocations: 65.75 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7756, allocations: 0 / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7756, allocations: 0 / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.7756, allocations: 0 / 1.018 GB, free: 1.328 MB / 0.7637 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.000452/0.7761, allocations: 383.1 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7761, allocations: 8.031 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.7762, allocations: 12.84 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.7764, allocations: 196.1 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.7764, allocations: 12.38 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.7764, allocations: 4.375 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.7766, allocations: 97.89 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.7766, allocations: 8.062 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.7766, allocations: 3.938 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.7766, allocations: 0 / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.051e-05/0.7767, allocations: 35.98 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.7773, allocations: 432.8 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.016e-05/0.7774, allocations: 45.2 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.7774, allocations: 17.72 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.7774, allocations: 4 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.7774, allocations: 34.5 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7775, allocations: 4 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001969/0.7777, allocations: 49.55 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.7777, allocations: 85.03 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.7779, allocations: 158.5 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.7779, allocations: 29.7 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.778, allocations: 107.9 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-06/0.778, allocations: 3.906 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.7781, allocations: 21.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7782, allocations: 322.8 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.7782, allocations: 7.984 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.7783, allocations: 17.72 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.426e-05/0.7783, allocations: 29.72 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.7783, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.703e-05/0.7784, allocations: 61.53 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7784, allocations: 7.938 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.7784, allocations: 3.938 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.7785, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.7785, allocations: 8 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.7785, allocations: 64 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/0.7786, allocations: 7.938 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.7786, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 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.937e-05/0.7787, allocations: 113.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.7787, allocations: 15.8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.7788, allocations: 15.89 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7788, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7788, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.7788, allocations: 3.938 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.7792, allocations: 474.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7792, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.7792, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7792, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.7792, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.7792, allocations: 7.984 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7792, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.944e-05/0.7793, allocations: 81.84 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.7794, allocations: 96.94 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.7794, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.7794, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.7794, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.7795, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.551e-05/0.7795, allocations: 126.5 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7796, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001791/0.7797, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 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.0001307/0.7799, allocations: 101.6 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.725e-05/0.78, allocations: 19.92 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.78, allocations: 4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.78, allocations: 8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.7802, allocations: 8.188 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.7805, allocations: 154.8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.7807, allocations: 0.7002 MB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.7808, allocations: 4.438 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.7808, allocations: 11.44 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.7808, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of Templates: time 0.002457/0.7833, allocations: 456.4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches