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.009802/0.009801, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001997/0.001997, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.594/2.594, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186/1.187, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002198/1.19, allocations: 0.8337 MB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001352/1.19, allocations: 43.78 kB / 1.167 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/1.19, allocations: 0 / 1.167 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/1.19, allocations: 11.88 kB / 1.167 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/1.19, allocations: 3.938 kB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.968e-05/1.19, allocations: 19.98 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/1.19, allocations: 63.77 kB / 1.168 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/1.19, allocations: 43.97 kB / 1.168 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/1.191, allocations: 27.86 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/1.191, allocations: 27.86 kB / 1.168 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/1.191, allocations: 4 kB / 1.168 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.57e-05/1.191, allocations: 12 kB / 1.168 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.108e-05/1.191, allocations: 15.92 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/1.191, allocations: 31.81 kB / 1.168 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/1.191, allocations: 76.08 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/1.191, allocations: 3.984 kB / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.991e-06/1.191, allocations: 4 kB / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.191, allocations: 0 / 1.168 GB, free: 2.652 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.0005137/1.192, allocations: 379.1 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.192, allocations: 12.92 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/1.192, allocations: 16.84 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/1.192, allocations: 188.2 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/1.192, allocations: 8.312 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/1.192, allocations: 12.38 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/1.192, allocations: 90.39 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/1.192, allocations: 192 / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/1.192, allocations: 3.938 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.192, allocations: 4 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.159e-05/1.192, allocations: 47.86 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/1.193, allocations: 436.7 kB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/1.193, allocations: 45.25 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/1.193, allocations: 17.78 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/1.193, allocations: 0 / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/1.193, allocations: 38.56 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.193, allocations: 0 / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000192/1.193, allocations: 57.52 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/1.193, allocations: 77.11 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/1.194, allocations: 165.3 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/1.194, allocations: 25.7 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/1.194, allocations: 100 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/1.194, allocations: 11.94 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/1.194, allocations: 17.72 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.194, allocations: 318.8 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/1.194, allocations: 4 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.563e-05/1.194, allocations: 21.66 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.072e-05/1.194, allocations: 25.72 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.194, allocations: 3.938 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.493e-05/1.194, allocations: 69.53 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.194, allocations: 4 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.194, allocations: 3.938 kB / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.194, allocations: 4 kB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/1.194, allocations: 4.062 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/1.194, allocations: 4 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/1.194, allocations: 7.938 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/1.194, allocations: 0 / 1.17 GB, free: 220 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 9.702e-05/1.194, allocations: 117.8 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/1.194, allocations: 12.05 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/1.194, allocations: 19.8 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.194, allocations: 0 / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.194, allocations: 0 / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.194, allocations: 0 / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/1.195, allocations: 474.7 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.195, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/1.195, allocations: 7.984 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.195, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.195, allocations: 7.938 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.195, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.195, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.285e-05/1.195, allocations: 81.89 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/1.195, allocations: 89.05 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/1.195, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/1.195, allocations: 4 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/1.195, allocations: 4 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/1.195, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.28e-05/1.195, allocations: 125.5 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.195, allocations: 0 / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001808/1.196, allocations: 8 kB / 1.171 GB, free: 15.16 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.000178/1.196, allocations: 99.19 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001092/1.196, allocations: 19.98 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.196, allocations: 0 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.428e-05/1.196, allocations: 12.12 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/1.196, allocations: 16.73 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/1.196, allocations: 172.2 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/1.197, allocations: 0.6885 MB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.715e-05/1.197, allocations: 8.422 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/1.197, allocations: 15.44 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/1.197, allocations: 0 / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.002737/1.2, allocations: 456.5 kB / 1.172 GB, free: 13.62 MB / 0.9044 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