Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.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.001473/0.001473, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001773/0.001773, allocations: 173.8 kB / 22.46 MB, free: 5.355 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.461/1.461, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.866/2.866, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] 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.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.517e-05/3.709e-05, allocations: 3.969 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003158/0.003195, allocations: 1.503 MB / 0.9524 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003677/0.003563, allocations: 99.73 kB / 0.9525 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.003599, allocations: 4 kB / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.069e-05/0.003649, allocations: 3.938 kB / 0.9525 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.003737, allocations: 7.875 kB / 0.9525 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.003979, allocations: 27.91 kB / 0.9526 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.004098, allocations: 43.84 kB / 0.9526 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.004215, allocations: 15.98 kB / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.004296, allocations: 23.92 kB / 0.9527 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.004348, allocations: 15.97 kB / 0.9527 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.004372, allocations: 4 kB / 0.9527 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.718e-05/0.00445, allocations: 19.92 kB / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.00451, allocations: 19.92 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.004539, allocations: 8 kB / 0.9527 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.004713, allocations: 63.72 kB / 0.9528 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.004718, allocations: 0 / 0.9528 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004719, allocations: 0 / 0.9528 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.004725, allocations: 0 / 0.9528 GB, free: 9.707 MB / 0.8575 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.0006/0.005325, allocations: 310.1 kB / 0.9531 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.005366, allocations: 12.03 kB / 0.9531 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.005405, allocations: 4.891 kB / 0.9531 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.005542, allocations: 125.7 kB / 0.9532 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.005561, allocations: 4.375 kB / 0.9532 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.005577, allocations: 384 / 0.9532 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.005875, allocations: 78.2 kB / 0.9533 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.005885, allocations: 4.188 kB / 0.9533 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.005896, allocations: 384 / 0.9533 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.0059, allocations: 384 / 0.9533 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.006236, allocations: 79.8 kB / 0.9534 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.006636, allocations: 228.5 kB / 0.9536 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.006875, allocations: 62.53 kB / 0.9536 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.007043, allocations: 48.92 kB / 0.9537 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.007295, allocations: 31.97 kB / 0.9537 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.007329, allocations: 30.56 kB / 0.9538 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.00733, allocations: 0 / 0.9538 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006557/0.007985, allocations: 157.4 kB / 0.9539 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.008029, allocations: 55.39 kB / 0.954 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.008151, allocations: 128.6 kB / 0.9541 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.008171, allocations: 25.7 kB / 0.9541 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.00824, allocations: 96.12 kB / 0.9542 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.008268, allocations: 15.84 kB / 0.9542 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.008306, allocations: 13.72 kB / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.008445, allocations: 322.8 kB / 0.9545 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.008607, allocations: 31.97 kB / 0.9546 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.008766, allocations: 43.95 kB / 0.9546 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.009067, allocations: 76.72 kB / 0.9547 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.009068, allocations: 4 kB / 0.9547 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003665/0.009434, allocations: 113.6 kB / 0.9548 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.009451, allocations: 7.938 kB / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.009456, allocations: 0 / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.009469, allocations: 0 / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.009594, allocations: 15.98 kB / 0.9548 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.009598, allocations: 4 kB / 0.9548 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-05/0.009687, allocations: 23.88 kB / 0.9548 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.009695, allocations: 0 / 0.9548 GB, free: 7.422 MB / 0.8575 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 9.418e-05/0.009789, allocations: 118.7 kB / 0.9549 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.009819, allocations: 4 kB / 0.955 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.01023, allocations: 121.8 kB / 0.9551 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01023, allocations: 4 kB / 0.9551 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01023, allocations: 48 / 0.9551 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01024, allocations: 3.984 kB / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.01039, allocations: 125.3 kB / 0.9552 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01039, allocations: 0 / 0.9552 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.01049, allocations: 11.98 kB / 0.9552 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01049, allocations: 0 / 0.9552 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.0105, allocations: 7.938 kB / 0.9552 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01051, allocations: 3.938 kB / 0.9552 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01051, allocations: 3.984 kB / 0.9552 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.01092, allocations: 207.4 kB / 0.9554 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.425e-05/0.01093, allocations: 7.953 kB / 0.9554 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.01094, allocations: 3.984 kB / 0.9554 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.01106, allocations: 15.92 kB / 0.9554 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.0111, allocations: 4 kB / 0.9555 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.01111, allocations: 4 kB / 0.9555 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.946e-05/0.01118, allocations: 99.25 kB / 0.9556 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01118, allocations: 4 kB / 0.9556 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002478/0.01142, allocations: 12 kB / 0.9556 GB, free: 6.609 MB / 0.8575 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 0.0001509/0.01158, allocations: 99.19 kB / 0.9557 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.01194, allocations: 75.92 kB / 0.9557 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01195, allocations: 0 / 0.9557 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.01212, allocations: 51.89 kB / 0.9558 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.01236, allocations: 0 / 0.9558 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.01271, allocations: 152.7 kB / 0.9559 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.935e-05/0.01277, allocations: 71.34 kB / 0.956 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.0128, allocations: 4 kB / 0.956 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.01283, allocations: 8.5 kB / 0.956 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.01283, allocations: 4 kB / 0.956 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of Templates: time 0.003599/0.01643, allocations: 0.84 MB / 0.9568 GB, free: 5.27 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.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: 7.879362519830465]