Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.863/2.863, allocations: 443.5 MB / 0.7304 GB, free: 13.84 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 1.059 GB, free: 336 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.371, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002288/0.3732, allocations: 0.8332 MB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001351/0.3734, allocations: 43.8 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.3734, allocations: 0 / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.027e-05/0.3735, allocations: 7.875 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.801e-05/0.3736, allocations: 11.86 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.896e-05/0.3736, allocations: 19.98 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3738, allocations: 63.83 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.3739, allocations: 43.91 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.374, allocations: 23.86 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.3741, allocations: 27.8 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3741, allocations: 4 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.3741, allocations: 11.94 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.3741, allocations: 19.92 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.3742, allocations: 35.8 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.3743, allocations: 75.58 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3743, allocations: 4 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3743, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3743, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 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.0005791/0.3749, allocations: 383.1 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3749, allocations: 8.031 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.375, allocations: 12.84 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.3753, allocations: 196.2 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3753, allocations: 384 / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.3753, allocations: 12.38 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.3755, allocations: 94.44 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3755, allocations: 4.125 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3755, allocations: 3.938 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3756, allocations: 4 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-05/0.3756, allocations: 39.92 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006416/0.3763, allocations: 440.8 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.724e-05/0.3764, allocations: 37.22 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.3764, allocations: 13.78 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.3764, allocations: 4 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.3764, allocations: 46.48 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3764, allocations: 0 / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001933/0.3766, allocations: 49.59 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.3767, allocations: 81.05 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.3769, allocations: 160.7 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3769, allocations: 29.7 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.377, allocations: 100.1 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.377, allocations: 11.89 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.377, allocations: 13.72 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3772, allocations: 322.8 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.3772, allocations: 4 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.653e-05/0.3773, allocations: 21.7 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.783e-05/0.3773, allocations: 29.72 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3773, allocations: 7.875 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.496e-05/0.3774, allocations: 57.61 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3774, allocations: 4 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3774, allocations: 3.938 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3774, allocations: 3.984 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.3775, allocations: 8 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.3775, allocations: 4 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.3775, allocations: 12 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.3776, allocations: 0 / 1.219 GB, free: 11.63 MB / 0.9669 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 8.922e-05/0.3776, allocations: 113.8 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.3777, allocations: 7.953 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.3777, allocations: 19.8 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3777, allocations: 0 / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3777, allocations: 0 / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3777, allocations: 0 / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.3782, allocations: 478.7 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3782, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.3782, allocations: 7.938 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3782, allocations: 0 / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3782, allocations: 0 / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3782, allocations: 4 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3782, allocations: 0 / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.3783, allocations: 85.88 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.3784, allocations: 85.06 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.3784, allocations: 7.984 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.95e-05/0.3784, allocations: 96 / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.3784, allocations: 3.984 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.3784, allocations: 4 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001135/0.3786, allocations: 121.1 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3786, allocations: 4 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002061/0.3788, allocations: 11.94 kB / 1.22 GB, free: 10.58 MB / 0.9669 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.0001292/0.3789, allocations: 98.34 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.379, allocations: 19.94 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.379, allocations: 4 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.379, allocations: 8 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.3792, allocations: 8.172 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.3795, allocations: 170.6 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.3799, allocations: 0.6924 MB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.468e-05/0.3799, allocations: 8.422 kB / 1.221 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.3799, allocations: 15.44 kB / 1.221 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of SimCode: time 8.22e-07/0.3799, allocations: 0 / 1.221 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of Templates: time 0.002966/0.3829, allocations: 477.4 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.844117518514395]