Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.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.0008068/0.0008068, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007967/0.0007967, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8686/0.8686, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.615/1.615, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.211e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001733/0.001755, allocations: 1.499 MB / 0.9532 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.002015, allocations: 103.7 kB / 0.9533 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.002048, allocations: 0 / 0.9533 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.253e-05/0.002091, allocations: 3.938 kB / 0.9533 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.571e-05/0.002147, allocations: 15.88 kB / 0.9533 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.002351, allocations: 23.95 kB / 0.9533 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.077e-05/0.002432, allocations: 47.78 kB / 0.9534 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.45e-05/0.002517, allocations: 7.938 kB / 0.9534 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.448e-05/0.002571, allocations: 19.98 kB / 0.9534 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.002611, allocations: 19.97 kB / 0.9534 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.002628, allocations: 4 kB / 0.9534 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.636e-05/0.002684, allocations: 23.92 kB / 0.9534 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.00273, allocations: 15.97 kB / 0.9535 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.00275, allocations: 19.94 kB / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.002871, allocations: 59.78 kB / 0.9535 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.002874, allocations: 4 kB / 0.9535 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002875, allocations: 0 / 0.9535 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.002879, allocations: 0 / 0.9535 GB, free: 1.098 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003693/0.003248, allocations: 306 kB / 0.9538 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.003283, allocations: 12.03 kB / 0.9538 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.003312, allocations: 4.891 kB / 0.9539 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.172e-05/0.003394, allocations: 121.7 kB / 0.954 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.003405, allocations: 8.375 kB / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.003415, allocations: 4.359 kB / 0.954 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.003585, allocations: 82.2 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.003592, allocations: 192 / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.003602, allocations: 384 / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.003606, allocations: 384 / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.003749, allocations: 83.8 kB / 0.9541 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.00403, allocations: 220.6 kB / 0.9543 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.004146, allocations: 62.53 kB / 0.9544 GB, free: 112 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.004221, allocations: 44.91 kB / 0.9545 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.00436, allocations: 35.98 kB / 0.9545 GB, free: 28 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.004389, allocations: 34.55 kB / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.00439, allocations: 0 / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0003079/0.004698, allocations: 149.4 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.00473, allocations: 55.41 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.004957, allocations: 129.7 kB / 0.9548 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.004967, allocations: 29.7 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.005006, allocations: 88.14 kB / 0.9549 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.005027, allocations: 15.91 kB / 0.955 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.005051, allocations: 9.719 kB / 0.955 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.005124, allocations: 322.8 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/0.005195, allocations: 35.95 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.005259, allocations: 35.97 kB / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.005391, allocations: 80.72 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005393, allocations: 0 / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001622/0.005555, allocations: 113.6 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.005568, allocations: 14.44 kB / 0.9555 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.005573, allocations: 7.938 kB / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.005584, allocations: 0 / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.005654, allocations: 15.98 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.005659, allocations: 0 / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/0.005698, allocations: 15.97 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.005704, allocations: 3.938 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 5.324e-05/0.005757, allocations: 115.8 kB / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.005768, allocations: 0 / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.005963, allocations: 137.4 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.005965, allocations: 384 / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.005969, allocations: 0 / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.005972, allocations: 0 / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.645e-05/0.006069, allocations: 117.3 kB / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.006071, allocations: 3.984 kB / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.00611, allocations: 19.97 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006111, allocations: 4 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.006117, allocations: 0 / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.006121, allocations: 7.938 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006121, allocations: 0 / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.0063, allocations: 203.4 kB / 0.9562 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.006308, allocations: 11.89 kB / 0.9562 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.006319, allocations: 4 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.998e-05/0.006369, allocations: 19.92 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.006405, allocations: 7.984 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.006407, allocations: 0 / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.006445, allocations: 101.8 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006445, allocations: 0 / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001471/0.006592, allocations: 8 kB / 0.9563 GB, free: 14.01 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 9.737e-05/0.006689, allocations: 99.25 kB / 0.9564 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.006868, allocations: 83.91 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.006869, allocations: 0 / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.102e-05/0.00694, allocations: 39.91 kB / 0.9565 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.007112, allocations: 11.98 kB / 0.9565 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.00738, allocations: 183 kB / 0.9567 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.801e-05/0.007428, allocations: 75.33 kB / 0.9568 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.007452, allocations: 8.5 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of SimCode: time 7.42e-07/0.007453, allocations: 0 / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of Templates: time 0.001624/0.009076, allocations: 0.9264 MB / 0.9577 GB, free: 12.54 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.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: 6.3655899511650205]