Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.001851/0.001851, allocations: 112.3 kB / 17.13 MB, free: 6.008 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.002154/0.002154, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.891/2.891, allocations: 0.49 GB / 0.7923 GB, free: 1.352 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [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.002162/0.002162, allocations: 71.89 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8579, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001736/0.8597, allocations: 0.8889 MB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001057/0.8598, allocations: 52.66 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.8598, allocations: 2.469 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.8598, allocations: 11.3 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-05/0.8599, allocations: 14.66 kB / 1.323 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.524e-05/0.86, allocations: 21.2 kB / 1.323 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.682e-05/0.8601, allocations: 79.94 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.8602, allocations: 44.11 kB / 1.323 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.8602, allocations: 42.2 kB / 1.323 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.8603, allocations: 36.17 kB / 1.323 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.8603, allocations: 8.719 kB / 1.323 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.8603, allocations: 5.438 kB / 1.323 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.8603, allocations: 22.31 kB / 1.323 GB, free: 24.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.8604, allocations: 39.05 kB / 1.323 GB, free: 24.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.8605, allocations: 106.8 kB / 1.323 GB, free: 24.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8605, allocations: 4 kB / 1.323 GB, free: 24.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8605, allocations: 0 / 1.323 GB, free: 24.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.8605, allocations: 4 kB / 1.323 GB, free: 24.17 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003287/0.8608, allocations: 398.4 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.8608, allocations: 14.52 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.8609, allocations: 9.922 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.861, allocations: 198.9 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.861, allocations: 9.688 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.861, allocations: 5.469 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.8612, allocations: 122.2 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.8612, allocations: 0 / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.8612, allocations: 4 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8612, allocations: 2.531 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.8613, allocations: 40.14 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.8617, allocations: 480 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.829e-05/0.8617, allocations: 39.97 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.8617, allocations: 19.28 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-06/0.8617, allocations: 0 / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.8618, allocations: 40.91 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.8618, allocations: 0 / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001443/0.8619, allocations: 55.94 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.8619, allocations: 77.11 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.862, allocations: 178.1 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.862, allocations: 28.3 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.8621, allocations: 112.6 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-06/0.8621, allocations: 3.953 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.8621, allocations: 22.17 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.8622, allocations: 329.1 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.8622, allocations: 2.625 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.643e-05/0.8622, allocations: 19 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.8622, allocations: 25.47 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.8622, allocations: 0 / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.749e-05/0.8623, allocations: 59.3 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.8623, allocations: 11.62 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8623, allocations: 7.938 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.8623, allocations: 6.719 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.245e-05/0.8624, allocations: 8.359 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.8624, allocations: 0 / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.8624, allocations: 18.41 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.8624, allocations: 2.625 kB / 1.326 GB, free: 22.03 MB / 1.061 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 4.501e-05/0.8625, allocations: 112.5 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.8625, allocations: 13.03 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.8625, allocations: 21.16 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.8625, allocations: 0 / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.8625, allocations: 0 / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8625, allocations: 3.938 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.8628, allocations: 472.8 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8628, allocations: 2.781 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/0.8628, allocations: 2.875 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8628, allocations: 4.062 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.8628, allocations: 4.047 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.8628, allocations: 6.781 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8628, allocations: 0 / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.68e-05/0.8629, allocations: 87.08 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.8629, allocations: 87.53 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.8629, allocations: 3.938 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.8629, allocations: 10.94 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.8629, allocations: 0 / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.8629, allocations: 2.594 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.216e-05/0.863, allocations: 134.7 kB / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.863, allocations: 0 / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000181/0.8632, allocations: 12.41 kB / 1.326 GB, free: 21.1 MB / 1.061 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 8.151e-05/0.8633, allocations: 101.3 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.285e-05/0.8634, allocations: 19.91 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8634, allocations: 0 / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.8634, allocations: 9.312 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.8635, allocations: 9.844 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.8638, allocations: 217.7 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.8639, allocations: 0.6996 MB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.8639, allocations: 12.62 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.8639, allocations: 0 / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of Templates: time 0.002111/0.866, allocations: 1.006 MB / 1.328 GB, free: 19.98 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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: 11.135742162005045]