Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001519/0.001519, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001692/0.001692, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.518/1.518, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.936/2.936, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] 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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.228e-05, allocations: 6.5 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002517/0.002549, allocations: 0.794 MB / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.00271, allocations: 45.38 kB / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.002769, allocations: 0 / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.533e-05/0.002824, allocations: 7.875 kB / 0.8116 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.8e-05/0.002922, allocations: 15.86 kB / 0.8117 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.974e-05/0.002982, allocations: 17.02 kB / 0.8117 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.00312, allocations: 63.83 kB / 0.8117 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.003261, allocations: 31.92 kB / 0.8118 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.003381, allocations: 40.67 kB / 0.8118 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.003437, allocations: 25.53 kB / 0.8118 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.003459, allocations: 4 kB / 0.8118 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.003472, allocations: 8 kB / 0.8118 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.003494, allocations: 7.938 kB / 0.8119 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.00354, allocations: 27.91 kB / 0.8119 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.003688, allocations: 77.22 kB / 0.812 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.00369, allocations: 0 / 0.812 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003691, allocations: 0 / 0.812 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.003697, allocations: 0 / 0.812 GB, free: 0.9414 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.0005204/0.004218, allocations: 303.4 kB / 0.8122 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.004261, allocations: 8.031 kB / 0.8123 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.004321, allocations: 16.89 kB / 0.8123 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.004545, allocations: 139.3 kB / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.004564, allocations: 8.375 kB / 0.8124 GB, free: 432 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.00458, allocations: 4.375 kB / 0.8124 GB, free: 428 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.004789, allocations: 102.5 kB / 0.8125 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.004799, allocations: 192 / 0.8125 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.004811, allocations: 1.562 kB / 0.8125 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.00482, allocations: 4.375 kB / 0.8125 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.00492, allocations: 39.86 kB / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.005553, allocations: 358.2 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.343e-05/0.005646, allocations: 41.19 kB / 0.8129 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.005697, allocations: 24.44 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.005704, allocations: 0 / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.005741, allocations: 30.56 kB / 0.813 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.005742, allocations: 3.938 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002151/0.005957, allocations: 57.58 kB / 0.813 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.006026, allocations: 77.83 kB / 0.8131 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.006187, allocations: 137 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.006208, allocations: 26.23 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.006307, allocations: 107.9 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-06/0.006316, allocations: 5.609 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.00636, allocations: 17.72 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.006541, allocations: 318.8 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.006566, allocations: 11.92 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.006598, allocations: 18.38 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.122e-05/0.006649, allocations: 22.66 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006652, allocations: 0 / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001107/0.006762, allocations: 62.78 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.006779, allocations: 4 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.006785, allocations: 1.125 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.006808, allocations: 0 / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.006879, allocations: 8 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.006888, allocations: 4.75 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.00692, allocations: 7.891 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.006927, allocations: 4.531 kB / 0.8138 GB, free: 14.81 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 0.0001156/0.007043, allocations: 118.7 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.007087, allocations: 3.938 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.007116, allocations: 13.53 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.00712, allocations: 4 kB / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.007125, allocations: 0 / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.007132, allocations: 7.938 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.007605, allocations: 411.1 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.007607, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.00763, allocations: 10.52 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007633, allocations: 0 / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.007642, allocations: 7.938 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.007644, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007645, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.007758, allocations: 69.98 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.007782, allocations: 9.703 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.007797, allocations: 7.875 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.007818, allocations: 4 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.00784, allocations: 7.922 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.007845, allocations: 4 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.324e-05/0.007928, allocations: 95.8 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007928, allocations: 0.5625 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002108/0.008139, allocations: 11.95 kB / 0.8146 GB, free: 13.98 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 0.0001449/0.008284, allocations: 97.22 kB / 0.8147 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.008397, allocations: 16 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.008399, allocations: 1.344 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.779e-05/0.008417, allocations: 11.94 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.008582, allocations: 5.672 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.008984, allocations: 166.9 kB / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.239e-05/0.009076, allocations: 85.77 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.275e-05/0.009109, allocations: 7.984 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.009149, allocations: 8.5 kB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of SimCode: time 1.152e-06/0.00915, allocations: 4 kB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.00297/0.01212, allocations: 342.2 kB / 0.8153 GB, free: 13.2 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.906605868949555]