Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 202.9 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.839/2.839, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 71.89 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8167/0.8189, allocations: 168.7 MB / 1.274 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002334/0.8212, allocations: 0.8536 MB / 1.275 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001266/0.8214, allocations: 43.78 kB / 1.275 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.8214, allocations: 0 / 1.275 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.8215, allocations: 11.88 kB / 1.275 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/0.8216, allocations: 7.875 kB / 1.275 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.47e-05/0.8216, allocations: 19.97 kB / 1.275 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.8217, allocations: 59.84 kB / 1.275 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.8219, allocations: 35.94 kB / 1.275 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.39e-05/0.822, allocations: 27.86 kB / 1.275 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.822, allocations: 27.8 kB / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.822, allocations: 8 kB / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.8221, allocations: 4 kB / 1.275 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.8221, allocations: 23.91 kB / 1.275 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.8221, allocations: 27.81 kB / 1.275 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.8223, allocations: 78.25 kB / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.8223, allocations: 0 / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8223, allocations: 0 / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.8223, allocations: 4 kB / 1.275 GB, free: 3.191 MB / 0.9669 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.0005373/0.8228, allocations: 375.2 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.8228, allocations: 8.031 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.8229, allocations: 20.78 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.8232, allocations: 192.2 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.8232, allocations: 8.375 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.8232, allocations: 8.375 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.8235, allocations: 97.61 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.8235, allocations: 192 / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.8235, allocations: 7.938 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.8235, allocations: 0 / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.24e-05/0.8236, allocations: 35.98 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006695/0.8243, allocations: 436.7 kB / 1.276 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.114e-05/0.8243, allocations: 41.16 kB / 1.276 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.8244, allocations: 25.78 kB / 1.276 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.8244, allocations: 96 / 1.276 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.8244, allocations: 34.5 kB / 1.276 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8244, allocations: 0 / 1.276 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000229/0.8247, allocations: 65.52 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.8247, allocations: 81.11 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.8249, allocations: 158.1 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.825, allocations: 25.7 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.8251, allocations: 108 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.8251, allocations: 3.953 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.8251, allocations: 21.67 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.8253, allocations: 323.1 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.8253, allocations: 4 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.8254, allocations: 21.72 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.8254, allocations: 25.66 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8254, allocations: 3.938 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.548e-05/0.8255, allocations: 57.7 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.8255, allocations: 12 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.8255, allocations: 3.938 kB / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.8256, allocations: 0 / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.8256, allocations: 7.938 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.8256, allocations: 4 kB / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.8257, allocations: 3.938 kB / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.8257, allocations: 7.984 kB / 1.277 GB, free: 0.7461 MB / 0.9669 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.835e-05/0.8258, allocations: 110.4 kB / 1.277 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.8258, allocations: 7.953 kB / 1.277 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.8258, allocations: 15.81 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.8258, allocations: 4 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.8259, allocations: 4 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.8259, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.8263, allocations: 474.7 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8264, allocations: 3.984 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.8264, allocations: 4 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.8264, allocations: 4.156 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.8264, allocations: 3.984 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8264, allocations: 0 / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8264, allocations: 0 / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.8265, allocations: 85.88 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.8266, allocations: 85 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.8266, allocations: 8.031 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.8266, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.8267, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.8267, allocations: 3.938 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00011/0.8268, allocations: 119.2 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8268, allocations: 0 / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002028/0.827, allocations: 12 kB / 1.278 GB, free: 15.71 MB / 0.9825 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.0001561/0.8271, allocations: 99.23 kB / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.8272, allocations: 23.94 kB / 1.278 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8273, allocations: 0 / 1.278 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.8273, allocations: 4 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.8274, allocations: 11.94 kB / 1.278 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.8278, allocations: 178.5 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.8282, allocations: 0.6965 MB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.8282, allocations: 12.36 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.8283, allocations: 11.44 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8283, allocations: 0 / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.00323/0.8315, allocations: 462.1 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.059638163074851]