Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.069/1.069, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.995/1.995, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.123e-05, allocations: 7 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001536/0.001567, allocations: 0.8285 MB / 0.8124 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001132/0.00168, allocations: 39.78 kB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.001724, allocations: 0 / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.001763, allocations: 11.86 kB / 0.8124 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/0.001839, allocations: 17.41 kB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.909e-05/0.001878, allocations: 11.98 kB / 0.8124 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.531e-05/0.001973, allocations: 59.84 kB / 0.8125 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.002098, allocations: 35.95 kB / 0.8125 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.002168, allocations: 41.44 kB / 0.8126 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.00222, allocations: 15.92 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.002241, allocations: 4 kB / 0.8126 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.002252, allocations: 8 kB / 0.8126 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.002275, allocations: 16.44 kB / 0.8126 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.002304, allocations: 21.59 kB / 0.8126 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.843e-05/0.002402, allocations: 47.77 kB / 0.8127 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.002405, allocations: 0 / 0.8127 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.42e-07/0.002406, allocations: 0 / 0.8127 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.002411, allocations: 0 / 0.8127 GB, free: 0.582 MB / 0.7605 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.0003816/0.002793, allocations: 408.8 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.00284, allocations: 8.625 kB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.00288, allocations: 13.67 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.003051, allocations: 136.7 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.003062, allocations: 5.531 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.003078, allocations: 12.31 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.003201, allocations: 88.02 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.003213, allocations: 9.547 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.003224, allocations: 4.359 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.003233, allocations: 384 / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.919e-05/0.003282, allocations: 35.8 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.003703, allocations: 464.1 kB / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.338e-05/0.003756, allocations: 62.22 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.003785, allocations: 19.44 kB / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.003792, allocations: 0.7812 kB / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.003814, allocations: 33.39 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.003815, allocations: 0.75 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/0.003956, allocations: 56.36 kB / 0.814 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.003994, allocations: 77.11 kB / 0.814 GB, free: 15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.004103, allocations: 189.8 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.004112, allocations: 25.7 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.004183, allocations: 154.7 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.367e-06/0.004193, allocations: 11.89 kB / 0.8144 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.004221, allocations: 20.97 kB / 0.8144 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.004365, allocations: 0.4923 MB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.004387, allocations: 0 / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.00441, allocations: 27.31 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.004447, allocations: 24.53 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.004449, allocations: 0 / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.292e-05/0.004522, allocations: 58.67 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.004538, allocations: 8 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.004543, allocations: 1.375 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.004561, allocations: 0 / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.004621, allocations: 4 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.004628, allocations: 7.938 kB / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.004645, allocations: 2.562 kB / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.004648, allocations: 0 / 0.815 GB, free: 13.92 MB / 0.7761 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.413e-05/0.004723, allocations: 164.6 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.004747, allocations: 4 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.004771, allocations: 3.469 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.004774, allocations: 0 / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.004777, allocations: 0.5312 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.004781, allocations: 8.656 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.005078, allocations: 0.5506 MB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.005079, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.274e-05/0.005092, allocations: 9 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005094, allocations: 0 / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.005101, allocations: 7.875 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.005102, allocations: 1.094 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.005104, allocations: 4 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.987e-05/0.005164, allocations: 88.92 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.005179, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.005191, allocations: 10.16 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-06/0.005199, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.00522, allocations: 3.984 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.005222, allocations: 0 / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.005273, allocations: 139.2 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005273, allocations: 0 / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001313/0.005404, allocations: 23.83 kB / 0.816 GB, free: 12.83 MB / 0.7761 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 7.982e-05/0.005484, allocations: 97.31 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.768e-05/0.005562, allocations: 19.67 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.005563, allocations: 1.125 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.005574, allocations: 15.62 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.00569, allocations: 9 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.005961, allocations: 162.7 kB / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.005994, allocations: 64.06 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.006019, allocations: 5.828 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.006044, allocations: 12.5 kB / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.006045, allocations: 0 / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of Templates: time 0.001964/0.008009, allocations: 346.2 kB / 0.8167 GB, free: 12.05 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.51547840796411]