Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001164/0.001164, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001307/0.001307, allocations: 177 kB / 23.49 MB, free: 1.059 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.9177/0.9177, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.06/2.06, allocations: 429.5 MB / 0.6736 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.096e-05, allocations: 6 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001775/0.001796, allocations: 1.54 MB / 0.8797 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002621/0.002058, allocations: 107.7 kB / 0.8798 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.002094, allocations: 0.6562 kB / 0.8798 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.002139, allocations: 4.594 kB / 0.8798 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.234e-05/0.002191, allocations: 11.02 kB / 0.8798 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.002378, allocations: 27.89 kB / 0.8798 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.384e-05/0.002452, allocations: 43.77 kB / 0.8799 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.002534, allocations: 7.984 kB / 0.8799 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.554e-05/0.00259, allocations: 19.98 kB / 0.8799 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.002631, allocations: 23.91 kB / 0.8799 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.002648, allocations: 4 kB / 0.8799 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.48e-05/0.002703, allocations: 19.98 kB / 0.88 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.002747, allocations: 11.92 kB / 0.88 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.002768, allocations: 11.98 kB / 0.88 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.002878, allocations: 47.83 kB / 0.88 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00288, allocations: 0 / 0.88 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.41e-07/0.00288, allocations: 0 / 0.88 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.002884, allocations: 0.9375 kB / 0.88 GB, free: 4.758 MB / 0.8386 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.0003587/0.003243, allocations: 397.4 kB / 0.8804 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.003278, allocations: 12.02 kB / 0.8804 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.003315, allocations: 8.891 kB / 0.8804 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/0.003402, allocations: 125.6 kB / 0.8805 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.003413, allocations: 8.312 kB / 0.8806 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.003422, allocations: 384 / 0.8806 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.00355, allocations: 68 kB / 0.8806 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.003556, allocations: 192 / 0.8806 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.003564, allocations: 3.844 kB / 0.8806 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.003571, allocations: 384 / 0.8806 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.297e-05/0.003604, allocations: 11.92 kB / 0.8806 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.00389, allocations: 267.9 kB / 0.8809 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.436e-05/0.003955, allocations: 34.98 kB / 0.8809 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.003979, allocations: 15.69 kB / 0.8809 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.004105, allocations: 28.95 kB / 0.881 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.004125, allocations: 37.38 kB / 0.881 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.004126, allocations: 0.5938 kB / 0.881 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001498/0.004276, allocations: 58.84 kB / 0.8811 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.004303, allocations: 55.39 kB / 0.8811 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.004387, allocations: 185.9 kB / 0.8813 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.004396, allocations: 25.7 kB / 0.8813 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.004441, allocations: 144.2 kB / 0.8815 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.004457, allocations: 7.906 kB / 0.8815 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.004482, allocations: 23.38 kB / 0.8815 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.004592, allocations: 0.4928 MB / 0.882 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.004609, allocations: 4 kB / 0.882 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.306e-05/0.004622, allocations: 5.344 kB / 0.882 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.004668, allocations: 19.77 kB / 0.882 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00467, allocations: 0 / 0.882 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.783e-05/0.004727, allocations: 53.62 kB / 0.882 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.004739, allocations: 7.938 kB / 0.882 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.004743, allocations: 0 / 0.882 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.004754, allocations: 0 / 0.882 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.004822, allocations: 11.98 kB / 0.8821 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.004826, allocations: 0 / 0.8821 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.00485, allocations: 7.953 kB / 0.8821 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.004855, allocations: 4 kB / 0.8821 GB, free: 2.465 MB / 0.8386 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.528e-05/0.00491, allocations: 160.6 kB / 0.8822 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.004925, allocations: 8 kB / 0.8822 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.191e-05/0.005007, allocations: 57.62 kB / 0.8823 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005009, allocations: 0 / 0.8823 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.005012, allocations: 3.938 kB / 0.8823 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.005015, allocations: 3.984 kB / 0.8823 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.005136, allocations: 132.6 kB / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005137, allocations: 0 / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.005165, allocations: 8 kB / 0.8824 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005167, allocations: 3.984 kB / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.005173, allocations: 0 / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.005175, allocations: 3.938 kB / 0.8824 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005175, allocations: 4 kB / 0.8824 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.768e-05/0.005263, allocations: 195.9 kB / 0.8826 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.005269, allocations: 3.953 kB / 0.8826 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-06/0.005278, allocations: 0 / 0.8826 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.005314, allocations: 15.94 kB / 0.8826 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.005348, allocations: 3.984 kB / 0.8826 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.00535, allocations: 3.938 kB / 0.8827 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.114e-05/0.005391, allocations: 146.4 kB / 0.8828 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005391, allocations: 0 / 0.8828 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001465/0.005538, allocations: 8 kB / 0.8828 GB, free: 1.648 MB / 0.8386 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.439e-05/0.005632, allocations: 103.2 kB / 0.8829 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.329e-05/0.005705, allocations: 19.69 kB / 0.8829 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.005706, allocations: 0 / 0.8829 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.151e-05/0.005728, allocations: 15.67 kB / 0.8829 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.005906, allocations: 7.984 kB / 0.8829 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.006149, allocations: 165.9 kB / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.082e-05/0.00618, allocations: 59.34 kB / 0.8832 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.696e-05/0.006197, allocations: 8 kB / 0.8832 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.00622, allocations: 8.5 kB / 0.8832 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of SimCode: time 7.71e-07/0.006221, allocations: 4 kB / 0.8832 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of Templates: time 0.002244/0.008465, allocations: 0.8503 MB / 0.884 GB, free: 360 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.198114417959005]