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.001494/0.001494, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001958/0.001958, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.271/3.271, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.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: 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.00213/0.00213, allocations: 72.22 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4418, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.003897/0.4457, allocations: 0.7978 MB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002027/0.4459, allocations: 35.84 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.446, allocations: 0 / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.127e-05/0.4461, allocations: 11.88 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.4462, allocations: 7.875 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.051e-05/0.4463, allocations: 23.97 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.4465, allocations: 55.84 kB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/0.4468, allocations: 40 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.447, allocations: 31.77 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.049e-05/0.4471, allocations: 27.86 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.4471, allocations: 4 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.014e-05/0.4471, allocations: 8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.4471, allocations: 15.92 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.4472, allocations: 31.75 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.4474, allocations: 87.5 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.4474, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.936e-06/0.4474, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.4475, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 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.0007522/0.4482, allocations: 303.5 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/0.4483, allocations: 8.031 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.4483, allocations: 8.891 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.4487, allocations: 130.4 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.4487, allocations: 12.31 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.4487, allocations: 4.375 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.449, allocations: 105.5 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.449, allocations: 192 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.449, allocations: 3.938 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4491, allocations: 4 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.4492, allocations: 39.92 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008023/0.45, allocations: 360.5 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.4501, allocations: 37.25 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.845e-05/0.4501, allocations: 17.78 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.4502, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/0.4502, allocations: 34.56 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.4502, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002726/0.4505, allocations: 61.52 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.4506, allocations: 77.11 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.4508, allocations: 130.6 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.4508, allocations: 25.7 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.4509, allocations: 107.9 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.4509, allocations: 11.95 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.451, allocations: 17.66 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.4512, allocations: 318.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/0.4512, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.072e-05/0.4513, allocations: 21.66 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.599e-05/0.4513, allocations: 25.97 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4513, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000151/0.4515, allocations: 61.58 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4515, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4515, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.4515, allocations: 3.938 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.4516, allocations: 12 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.4516, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.923e-05/0.4517, allocations: 8 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.4517, allocations: 7.984 kB / 1.33 GB, free: 13.63 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.0001341/0.4518, allocations: 117.8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.4519, allocations: 3.953 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.4519, allocations: 15.41 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4519, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4519, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4519, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.4525, allocations: 410.5 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.4526, allocations: 3.938 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.4526, allocations: 8.062 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4526, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.4526, allocations: 4 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4526, allocations: 3.938 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4526, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.4527, allocations: 73.94 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.4528, allocations: 15.89 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.4528, allocations: 3.984 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.951e-05/0.4528, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.4529, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.4529, allocations: 4.031 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001035/0.453, allocations: 96.39 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/0.453, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003577/0.4533, allocations: 12 kB / 1.331 GB, free: 12.78 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.0001744/0.4535, allocations: 107.1 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.4536, allocations: 15.98 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4536, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.151e-05/0.4536, allocations: 7.938 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.4539, allocations: 16.19 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.4544, allocations: 154.5 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.4545, allocations: 87.11 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.4545, allocations: 4.078 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.4545, allocations: 11.44 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.4545, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of Templates: time 0.003868/0.4584, allocations: 400.8 kB / 1.332 GB, free: 11.94 MB / 1.029 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 -s gbode -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/jenkins1/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: 9.326820828995551]