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.001779/0.001779, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002537/0.002537, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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.641/1.641, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.469/3.469, allocations: 0.4899 GB / 0.7915 GB, free: 33.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 73.89 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4511, allocations: 176.1 MB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.003032/0.4541, allocations: 0.8208 MB / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002209/0.4543, allocations: 43.78 kB / 1.322 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.4544, allocations: 4 kB / 1.322 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.083e-05/0.4545, allocations: 7.922 kB / 1.322 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.973e-05/0.4546, allocations: 7.875 kB / 1.322 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.045e-05/0.4547, allocations: 19.98 kB / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.4548, allocations: 67.78 kB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.455, allocations: 31.91 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.4551, allocations: 27.86 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.4551, allocations: 31.84 kB / 1.322 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.4552, allocations: 4 kB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.4552, allocations: 8 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.4552, allocations: 11.94 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.4553, allocations: 39.73 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.4554, allocations: 75.52 kB / 1.322 GB, free: 1.586 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4554, allocations: 0 / 1.322 GB, free: 1.586 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4554, allocations: 8 kB / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.4555, allocations: 0 / 1.322 GB, free: 1.578 MB / 1.014 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.0006583/0.4561, allocations: 387.1 kB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.4562, allocations: 15.98 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.4562, allocations: 8.891 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.4565, allocations: 188.3 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.4565, allocations: 4.312 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.4565, allocations: 12.38 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.4567, allocations: 102.2 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4568, allocations: 4.125 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.4568, allocations: 3.938 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4568, allocations: 4 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.725e-05/0.4569, allocations: 39.92 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.4576, allocations: 432.8 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.845e-05/0.4576, allocations: 41.25 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.4577, allocations: 17.77 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.4577, allocations: 0 / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.4577, allocations: 38.56 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.4577, allocations: 8 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002246/0.458, allocations: 57.48 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.458, allocations: 77.11 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.4582, allocations: 160.3 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4583, allocations: 25.7 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.4583, allocations: 108 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.4584, allocations: 3.953 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.4584, allocations: 29.89 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4586, allocations: 318.8 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.4586, allocations: 4 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.4586, allocations: 25.64 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.393e-05/0.4587, allocations: 21.72 kB / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4587, allocations: 0 / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001081/0.4588, allocations: 69.58 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4588, allocations: 4 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4588, allocations: 3.938 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4588, allocations: 0 / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.4589, allocations: 8 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4589, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.4589, allocations: 7.953 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.4589, allocations: 0 / 1.325 GB, free: 15.13 MB / 1.029 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.0001064/0.459, allocations: 117.9 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.4591, allocations: 7.953 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.4591, allocations: 15.8 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4591, allocations: 4 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4591, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4591, allocations: 96 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.4597, allocations: 470.8 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4597, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.4597, allocations: 8.062 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4597, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4597, allocations: 7.938 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.4597, allocations: 7.938 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4597, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.4599, allocations: 81.83 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.422e-05/0.46, allocations: 97.02 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.46, allocations: 0 / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.46, allocations: 4 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.46, allocations: 0 / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.46, allocations: 4 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000121/0.4601, allocations: 120.7 kB / 1.325 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4601, allocations: 0 / 1.325 GB, free: 14.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002046/0.4603, allocations: 4 kB / 1.325 GB, free: 14.09 MB / 1.029 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.0001581/0.4605, allocations: 111.1 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.4606, allocations: 15.98 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4606, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.548e-05/0.4606, allocations: 11.94 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.4608, allocations: 10 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.4612, allocations: 158.8 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.4616, allocations: 0.6965 MB / 1.326 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.4617, allocations: 8.438 kB / 1.326 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.4617, allocations: 7.438 kB / 1.326 GB, free: 13 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4617, allocations: 4 kB / 1.326 GB, free: 13 MB / 1.029 GB Notification: Performance of Templates: time 0.003616/0.4653, allocations: 468.5 kB / 1.327 GB, free: 12.54 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400] 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: 9.819749520160258]