Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001579/0.001579, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001847/0.001847, allocations: 187 kB / 17.34 MB, free: 5.719 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.457/2.457, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8158/0.8172, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001996/0.8192, allocations: 0.8378 MB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.8194, allocations: 47.73 kB / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.8195, allocations: 0 / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.8195, allocations: 3.938 kB / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.506e-05/0.8196, allocations: 15.84 kB / 1.168 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.175e-05/0.8197, allocations: 23.98 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.8198, allocations: 59.84 kB / 1.168 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.8199, allocations: 39.92 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.837e-05/0.82, allocations: 27.92 kB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.8201, allocations: 27.8 kB / 1.168 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.8201, allocations: 8 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.8201, allocations: 4 kB / 1.168 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.8201, allocations: 19.92 kB / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.8202, allocations: 39.78 kB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.8203, allocations: 67.66 kB / 1.168 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8203, allocations: 0 / 1.168 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8203, allocations: 0 / 1.168 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.8203, allocations: 0 / 1.168 GB, free: 2.582 MB / 0.8887 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.0004466/0.8208, allocations: 388.8 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.8208, allocations: 8.922 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.8209, allocations: 12.84 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.8211, allocations: 196.1 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.8211, allocations: 8.312 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.8211, allocations: 8.375 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.8213, allocations: 90.39 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8213, allocations: 8.172 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.8213, allocations: 7.938 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.8214, allocations: 0 / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.8214, allocations: 39.92 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.822, allocations: 428.6 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.609e-05/0.8221, allocations: 45.19 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.8221, allocations: 21.84 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.8221, allocations: 0 / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.8222, allocations: 34.55 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8222, allocations: 3.938 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.8224, allocations: 65.48 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.8224, allocations: 77.11 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.8225, allocations: 156.7 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.8226, allocations: 25.7 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.8226, allocations: 108 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/0.8226, allocations: 3.906 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.8227, allocations: 17.72 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.8228, allocations: 323.1 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.8228, allocations: 8 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.8229, allocations: 25.64 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/0.8229, allocations: 21.72 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8229, allocations: 0 / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.385e-05/0.823, allocations: 61.55 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.823, allocations: 8.062 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.823, allocations: 3.938 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.823, allocations: 0 / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.8231, allocations: 11.98 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.8231, allocations: 0 / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.8232, allocations: 3.906 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.8232, allocations: 7.938 kB / 1.171 GB, free: 148 kB / 0.8887 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.657e-05/0.8233, allocations: 113.8 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.8233, allocations: 7.906 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.8234, allocations: 19.8 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.8234, allocations: 4 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8234, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.8234, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.8238, allocations: 466.9 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8238, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.436e-05/0.8238, allocations: 11.98 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.8238, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.8238, allocations: 8 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8238, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8238, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.627e-05/0.8239, allocations: 81.83 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.824, allocations: 84.95 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.824, allocations: 7.984 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.824, allocations: 4.031 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.8241, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.8241, allocations: 4 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.61e-05/0.8242, allocations: 121.7 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/0.8242, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001902/0.8244, allocations: 15.84 kB / 1.172 GB, free: 15.09 MB / 0.9044 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.0001176/0.8245, allocations: 103.2 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.214e-05/0.8246, allocations: 16 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8246, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.414e-05/0.8246, allocations: 7.938 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.8248, allocations: 15.92 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.8251, allocations: 184.5 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.8254, allocations: 0.7004 MB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.8254, allocations: 11.44 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8254, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of Templates: time 0.002478/0.8279, allocations: 0.8598 MB / 1.173 GB, free: 13.12 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches