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.001868/0.001868, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001975/0.001975, allocations: 157.7 kB / 23.55 MB, free: 0.875 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.547/1.547, allocations: 177.2 MB / 203.9 MB, free: 5.609 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 3.068/3.068, allocations: 377.8 MB / 0.6232 GB, free: 8.512 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.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 1.613e-06/1.613e-06, allocations: 0 / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.288e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00209/0.002123, allocations: 0.8107 MB / 0.8116 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001316/0.002254, allocations: 40.66 kB / 0.8116 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.002311, allocations: 4 kB / 0.8116 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.705e-05/0.002358, allocations: 9.031 kB / 0.8117 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.741e-05/0.002445, allocations: 7.875 kB / 0.8117 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.029e-05/0.002506, allocations: 23.97 kB / 0.8117 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.002634, allocations: 61.23 kB / 0.8117 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.002766, allocations: 31.92 kB / 0.8118 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.002862, allocations: 43.83 kB / 0.8118 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.897e-05/0.00292, allocations: 16.7 kB / 0.8118 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.002944, allocations: 8 kB / 0.8118 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.002955, allocations: 4.938 kB / 0.8118 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.002984, allocations: 19.91 kB / 0.8119 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.003018, allocations: 15.94 kB / 0.8119 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.003152, allocations: 76.31 kB / 0.812 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003155, allocations: 0.5312 kB / 0.812 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003155, allocations: 0 / 0.812 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.003159, allocations: 0.5 kB / 0.812 GB, free: 0.9102 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.0005427/0.003702, allocations: 409.2 kB / 0.8123 GB, free: 484 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.003743, allocations: 12.02 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.003796, allocations: 16.89 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.004007, allocations: 134.8 kB / 0.8125 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.004023, allocations: 8.375 kB / 0.8125 GB, free: 288 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.00404, allocations: 8.312 kB / 0.8125 GB, free: 280 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.004226, allocations: 101.5 kB / 0.8126 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.004236, allocations: 192 / 0.8126 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.00425, allocations: 4.375 kB / 0.8126 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.004257, allocations: 5 kB / 0.8126 GB, free: 156 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.416e-05/0.004351, allocations: 43.8 kB / 0.8127 GB, free: 112 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.004992, allocations: 475.6 kB / 0.8131 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.065e-05/0.005083, allocations: 58.16 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.005135, allocations: 28.86 kB / 0.8132 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.005147, allocations: 4 kB / 0.8132 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.005187, allocations: 34.2 kB / 0.8132 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.005188, allocations: 0 / 0.8132 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001947/0.005383, allocations: 55.5 kB / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.005449, allocations: 81.11 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.00563, allocations: 196.6 kB / 0.8136 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.00565, allocations: 25.7 kB / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.005766, allocations: 159.8 kB / 0.8137 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.005777, allocations: 7.953 kB / 0.8137 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.005821, allocations: 23.36 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002639/0.006085, allocations: 0.4891 MB / 0.8142 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.006108, allocations: 8 kB / 0.8142 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.864e-05/0.006146, allocations: 31.97 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.582e-05/0.006202, allocations: 32 kB / 0.8143 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006204, allocations: 1.312 kB / 0.8143 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.422e-05/0.006298, allocations: 53.64 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.006315, allocations: 12.33 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.00632, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.006338, allocations: 4 kB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.006399, allocations: 4 kB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.006406, allocations: 4.438 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.00644, allocations: 13.83 kB / 0.8144 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.006447, allocations: 4 kB / 0.8144 GB, free: 14.17 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.0001219/0.006569, allocations: 160.6 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.006609, allocations: 4 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.006633, allocations: 7.453 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006635, allocations: 1.281 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.00664, allocations: 4 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.006648, allocations: 3.938 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.007182, allocations: 0.559 MB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.007186, allocations: 4 kB / 0.8151 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.007209, allocations: 7.938 kB / 0.8151 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.007211, allocations: 0.5312 kB / 0.8151 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.007221, allocations: 8.406 kB / 0.8151 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007222, allocations: 0 / 0.8151 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007223, allocations: 0.9062 kB / 0.8151 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.007348, allocations: 92.97 kB / 0.8152 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.007371, allocations: 3.953 kB / 0.8152 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.007388, allocations: 7.938 kB / 0.8152 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.815e-05/0.007406, allocations: 1.281 kB / 0.8152 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.007427, allocations: 0 / 0.8152 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.007429, allocations: 0 / 0.8152 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001074/0.007537, allocations: 147.8 kB / 0.8154 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007537, allocations: 0 / 0.8154 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001869/0.007724, allocations: 16.7 kB / 0.8154 GB, free: 13.07 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.0001332/0.007857, allocations: 100.9 kB / 0.8155 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.007964, allocations: 19.69 kB / 0.8155 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007966, allocations: 0 / 0.8155 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/0.007994, allocations: 24.53 kB / 0.8155 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.008136, allocations: 5.5 kB / 0.8155 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.008514, allocations: 181.1 kB / 0.8157 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.32e-05/0.008597, allocations: 79.19 kB / 0.8158 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.008631, allocations: 7.984 kB / 0.8158 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.008657, allocations: 9.531 kB / 0.8158 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of SimCode: time 4.2e-07/0.008657, allocations: 0 / 0.8158 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.003011/0.01167, allocations: 347.6 kB / 0.8161 GB, free: 12.25 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 8.172802568995394]