Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001214/0.001214, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001524/0.001524, allocations: 201.3 kB / 22.17 MB, free: 5.211 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.452/1.452, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9235/0.9255, allocations: 168.7 MB / 1.274 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002121/0.9276, allocations: 0.8397 MB / 1.275 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001119/0.9277, allocations: 43.78 kB / 1.275 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.9278, allocations: 0 / 1.275 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.9278, allocations: 7.875 kB / 1.275 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.9279, allocations: 7.938 kB / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.694e-05/0.928, allocations: 23.97 kB / 1.275 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.9281, allocations: 63.78 kB / 1.275 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.9283, allocations: 35.92 kB / 1.275 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.297e-05/0.9283, allocations: 27.86 kB / 1.275 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.9284, allocations: 23.86 kB / 1.275 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.9284, allocations: 8 kB / 1.275 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-06/0.9284, allocations: 4 kB / 1.275 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.9284, allocations: 19.92 kB / 1.275 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.9285, allocations: 31.75 kB / 1.275 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.9286, allocations: 82.23 kB / 1.275 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.9286, allocations: 4 kB / 1.275 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9286, allocations: 0 / 1.275 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.9286, allocations: 0 / 1.275 GB, free: 3.277 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.0004941/0.9291, allocations: 375.2 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.9291, allocations: 8.031 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.9292, allocations: 16.84 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.9294, allocations: 192.2 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.9294, allocations: 8.375 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.9295, allocations: 12.38 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.9296, allocations: 89.83 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.9296, allocations: 192 / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.9297, allocations: 11.88 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.9297, allocations: 0 / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.9297, allocations: 39.92 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.9303, allocations: 440.6 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.9304, allocations: 41.28 kB / 1.276 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.9304, allocations: 25.83 kB / 1.276 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.9304, allocations: 0 / 1.276 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.9305, allocations: 34.56 kB / 1.276 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.9305, allocations: 0 / 1.276 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001921/0.9306, allocations: 57.52 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.9307, allocations: 85.11 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.9309, allocations: 158.1 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.9309, allocations: 25.7 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.9309, allocations: 108 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.931, allocations: 8.141 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.931, allocations: 25.67 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.9311, allocations: 318.8 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.9312, allocations: 7.938 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-05/0.9312, allocations: 21.72 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.9312, allocations: 21.72 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9312, allocations: 8 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.809e-05/0.9313, allocations: 57.58 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.9313, allocations: 8 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.9313, allocations: 3.938 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.9313, allocations: 0 / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.096e-05/0.9314, allocations: 8 kB / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.9314, allocations: 7.984 kB / 1.277 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.9314, allocations: 3.938 kB / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.9315, allocations: 4 kB / 1.277 GB, free: 0.8281 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.25e-05/0.9315, allocations: 114.4 kB / 1.277 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.9316, allocations: 7.953 kB / 1.277 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.9316, allocations: 15.75 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.9316, allocations: 0 / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.9316, allocations: 4 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.9316, allocations: 0 / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.932, allocations: 482.7 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.932, allocations: 0 / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.9321, allocations: 4 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9321, allocations: 0 / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-06/0.9321, allocations: 0 / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.9321, allocations: 3.938 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.9321, allocations: 0 / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.079e-05/0.9322, allocations: 85.91 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.9322, allocations: 85.06 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.9322, allocations: 4 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.9323, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.9323, allocations: 3.938 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.9323, allocations: 3.984 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.944e-05/0.9324, allocations: 115.3 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9324, allocations: 0 / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001834/0.9326, allocations: 12 kB / 1.278 GB, free: 15.8 MB / 0.9825 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.0001186/0.9327, allocations: 103.3 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.058e-05/0.9328, allocations: 16 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9328, allocations: 3.938 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.9328, allocations: 7.938 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.9329, allocations: 11.94 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.9333, allocations: 177.5 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.9336, allocations: 0.6963 MB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.931e-05/0.9336, allocations: 8.422 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.9336, allocations: 11.44 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.9336, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.002797/0.9364, allocations: 478.1 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.801867278758436]