Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001687/0.001687, allocations: 113.7 kB / 18.84 MB, free: 2.879 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.002012/0.002012, allocations: 189.9 kB / 22.1 MB, free: 5.184 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.509/1.509, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.465/3.465, allocations: 495.8 MB / 0.783 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 69.2 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4268, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002255/0.4291, allocations: 0.8367 MB / 1.308 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001255/0.4292, allocations: 43.78 kB / 1.308 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.4293, allocations: 4 kB / 1.308 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.35e-05/0.4293, allocations: 11.86 kB / 1.308 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.4294, allocations: 11.88 kB / 1.308 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.301e-05/0.4295, allocations: 19.92 kB / 1.308 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.4296, allocations: 59.91 kB / 1.308 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.4298, allocations: 35.92 kB / 1.308 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.148e-05/0.4298, allocations: 23.88 kB / 1.308 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.4299, allocations: 35.78 kB / 1.308 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.4299, allocations: 7.938 kB / 1.308 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.4299, allocations: 8 kB / 1.308 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.43, allocations: 15.94 kB / 1.308 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.43, allocations: 35.78 kB / 1.308 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.4302, allocations: 71.59 kB / 1.308 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4302, allocations: 4 kB / 1.308 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4302, allocations: 0 / 1.308 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4302, allocations: 0 / 1.308 GB, free: 0.6211 MB / 0.9981 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.0005275/0.4307, allocations: 304.4 kB / 1.308 GB, free: 300 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4307, allocations: 8.031 kB / 1.308 GB, free: 292 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.4308, allocations: 12.84 kB / 1.308 GB, free: 280 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.431, allocations: 142.3 kB / 1.308 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.431, allocations: 8.375 kB / 1.308 GB, free: 104 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.431, allocations: 8.375 kB / 1.308 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.4312, allocations: 89.61 kB / 1.308 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4312, allocations: 192 / 1.308 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.4313, allocations: 15.86 kB / 1.308 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4313, allocations: 4 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.651e-05/0.4314, allocations: 35.97 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.432, allocations: 403.8 kB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.786e-05/0.4321, allocations: 33.16 kB / 1.309 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.4321, allocations: 21.84 kB / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.4321, allocations: 7.984 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.4321, allocations: 34.59 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4321, allocations: 0 / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.4323, allocations: 57.47 kB / 1.309 GB, free: 15.31 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.4324, allocations: 85.11 kB / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.4326, allocations: 158.6 kB / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.4326, allocations: 29.7 kB / 1.309 GB, free: 15.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.4327, allocations: 108 kB / 1.309 GB, free: 14.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.4327, allocations: 3.953 kB / 1.309 GB, free: 14.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.4327, allocations: 21.67 kB / 1.309 GB, free: 14.87 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4329, allocations: 322.8 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.4329, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.4329, allocations: 25.7 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.655e-05/0.433, allocations: 29.66 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.433, allocations: 0 / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.421e-05/0.4331, allocations: 53.66 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4331, allocations: 8 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4331, allocations: 7.922 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4331, allocations: 0 / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.4332, allocations: 4 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.4332, allocations: 7.938 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.4332, allocations: 4.062 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.4332, allocations: 0 / 1.31 GB, free: 14.39 MB / 1.014 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 9.167e-05/0.4333, allocations: 118.6 kB / 1.31 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.4333, allocations: 7.953 kB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.4334, allocations: 23.73 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.4334, allocations: 0 / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4334, allocations: 4 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4334, allocations: 0 / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.4338, allocations: 457.7 kB / 1.31 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4338, allocations: 0 / 1.31 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.4338, allocations: 4 kB / 1.31 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4338, allocations: 0 / 1.31 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.4338, allocations: 0 / 1.31 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4338, allocations: 0 / 1.31 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4338, allocations: 0 / 1.31 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.4339, allocations: 89.88 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.4339, allocations: 7.953 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.434, allocations: 4 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.434, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.434, allocations: 3.984 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.434, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.915e-05/0.4341, allocations: 123.2 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4341, allocations: 4.031 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001838/0.4343, allocations: 8 kB / 1.311 GB, free: 13.46 MB / 1.014 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.000125/0.4344, allocations: 99.19 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.661e-05/0.4345, allocations: 15.94 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4345, allocations: 0 / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.006e-05/0.4345, allocations: 4 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.4347, allocations: 12.19 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.435, allocations: 162.6 kB / 1.311 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4354, allocations: 0.6924 MB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.4354, allocations: 8.422 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.4354, allocations: 11.44 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.4354, allocations: 4 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of Templates: time 0.003149/0.4386, allocations: 477.5 kB / 1.312 GB, free: 11.93 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.795233944430947]