Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.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.001585/0.001585, allocations: 106.5 kB / 17.6 MB, free: 4.703 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.001779/0.001779, allocations: 190.7 kB / 20.78 MB, free: 1.543 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.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.613/2.613, allocations: 443.5 MB / 0.7304 GB, free: 14.05 MB / 0.5762 GB " [Timeout remaining time 177] 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.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.89 kB / 1.059 GB, free: 444 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3444, allocations: 160.7 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002643/0.347, allocations: 1.494 MB / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003238/0.3474, allocations: 112.5 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.3474, allocations: 0 / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.041e-05/0.3474, allocations: 3.938 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-05/0.3475, allocations: 11.92 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.3477, allocations: 23.92 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.512e-05/0.3478, allocations: 43.91 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.3479, allocations: 4 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.3479, allocations: 23.92 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.348, allocations: 23.89 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.348, allocations: 4 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.766e-05/0.3481, allocations: 19.98 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.3481, allocations: 15.92 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.3482, allocations: 19.88 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.3483, allocations: 59.67 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3483, allocations: 0 / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.001e-06/0.3483, allocations: 0 / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3483, allocations: 0 / 1.218 GB, free: 13.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005714/0.3489, allocations: 387.1 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3489, allocations: 8.031 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.3489, allocations: 8.891 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3491, allocations: 176.3 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3491, allocations: 12.31 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.3491, allocations: 4.375 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.3494, allocations: 74.22 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3494, allocations: 192 / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3494, allocations: 3.938 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3494, allocations: 4 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.3497, allocations: 75.84 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.3501, allocations: 285 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.3503, allocations: 66.47 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.3505, allocations: 44.91 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/0.3507, allocations: 109.1 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.3508, allocations: 42.48 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3508, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005744/0.3514, allocations: 145.5 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.3514, allocations: 55.41 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3515, allocations: 129.5 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3515, allocations: 29.7 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.3516, allocations: 84.14 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.3516, allocations: 15.91 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.3517, allocations: 13.66 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3518, allocations: 322.8 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.352, allocations: 39.95 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3521, allocations: 36.16 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.3524, allocations: 84.8 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3524, allocations: 3.938 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003326/0.3527, allocations: 113.6 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3527, allocations: 8 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3527, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3528, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3529, allocations: 15.98 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3529, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.703e-05/0.353, allocations: 19.91 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.353, allocations: 8 kB / 1.22 GB, free: 10.91 MB / 0.9669 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.545e-05/0.3531, allocations: 113.8 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.3531, allocations: 3.938 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.3535, allocations: 129.5 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3535, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3535, allocations: 4 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3535, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.3537, allocations: 177.6 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3537, allocations: 0 / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.633e-05/0.3538, allocations: 15.98 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3538, allocations: 3.938 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3538, allocations: 4 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3538, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3538, allocations: 4 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.3542, allocations: 211.3 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.3542, allocations: 81.06 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.3542, allocations: 8 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3544, allocations: 15.97 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.3544, allocations: 4 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.3544, allocations: 0 / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.579e-05/0.3545, allocations: 99.27 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3545, allocations: 0 / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002235/0.3547, allocations: 8 kB / 1.221 GB, free: 9.934 MB / 0.9669 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.0001493/0.3548, allocations: 107.2 kB / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.3552, allocations: 83.86 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3552, allocations: 4 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.3554, allocations: 39.95 kB / 1.221 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.3556, allocations: 3.938 kB / 1.221 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.356, allocations: 170.4 kB / 1.221 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.3563, allocations: 0.6885 MB / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.3564, allocations: 0 / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.3564, allocations: 7.438 kB / 1.222 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.3564, allocations: 4 kB / 1.222 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of Templates: time 0.003364/0.3597, allocations: 0.7997 MB / 1.223 GB, free: 7.98 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.022976398468018]