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.00097/0.00097, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001127/0.001127, allocations: 173 kB / 23.02 MB, free: 1.543 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.9105/0.9105, allocations: 177.1 MB / 203.4 MB, free: 5.578 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.121/2.121, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.824e-06/1.824e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.85e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003575/0.003603, allocations: 1.549 MB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003973/0.004001, allocations: 104.9 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.004046, allocations: 0.9375 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.642e-05/0.004112, allocations: 7.938 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.106e-05/0.004193, allocations: 4.422 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.004457, allocations: 23.91 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.004577, allocations: 47.39 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.004692, allocations: 15.97 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/0.004778, allocations: 19.98 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.004838, allocations: 20.97 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.004861, allocations: 4 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.148e-05/0.004942, allocations: 17.02 kB / 0.8799 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.005005, allocations: 8 kB / 0.8799 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.00504, allocations: 15.92 kB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.005213, allocations: 52.47 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.005216, allocations: 0 / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005217, allocations: 1.219 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.005222, allocations: 4 kB / 0.88 GB, free: 4.434 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.0008235/0.006046, allocations: 392.9 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.006095, allocations: 12.03 kB / 0.8804 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.006154, allocations: 14.27 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.006263, allocations: 120.5 kB / 0.8805 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.006277, allocations: 384 / 0.8805 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.006291, allocations: 4.375 kB / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.00649, allocations: 63.72 kB / 0.8806 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.006499, allocations: 0.75 kB / 0.8806 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.006511, allocations: 384 / 0.8806 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.006521, allocations: 1.469 kB / 0.8806 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.00657, allocations: 15.92 kB / 0.8806 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.006969, allocations: 272.4 kB / 0.8809 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.007071, allocations: 42.98 kB / 0.8809 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.007106, allocations: 8.344 kB / 0.8809 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.007302, allocations: 32.67 kB / 0.881 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.007339, allocations: 41.38 kB / 0.881 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/0.007341, allocations: 0 / 0.881 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002232/0.007564, allocations: 53.53 kB / 0.881 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.007604, allocations: 55.39 kB / 0.8811 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.007723, allocations: 181.7 kB / 0.8813 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.007742, allocations: 29.7 kB / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.007815, allocations: 138.9 kB / 0.8814 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.00785, allocations: 15.91 kB / 0.8814 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.007892, allocations: 16.16 kB / 0.8815 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.008047, allocations: 0.5 MB / 0.882 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.008074, allocations: 4.594 kB / 0.882 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.008093, allocations: 192 / 0.882 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.008148, allocations: 25.2 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.00815, allocations: 0 / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001043/0.008255, allocations: 45.62 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.008275, allocations: 10.28 kB / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.008281, allocations: 4 kB / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.008298, allocations: 4 kB / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.008413, allocations: 11.98 kB / 0.8821 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.008419, allocations: 0 / 0.8821 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.00846, allocations: 11.95 kB / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.008469, allocations: 0 / 0.8821 GB, free: 2.145 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 8.141e-05/0.008551, allocations: 156.6 kB / 0.8822 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.008582, allocations: 8 kB / 0.8822 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.008731, allocations: 57.62 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.008733, allocations: 7.938 kB / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.008737, allocations: 0 / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.008743, allocations: 3.984 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.008893, allocations: 124.6 kB / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008895, allocations: 0 / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.88e-05/0.008964, allocations: 11.98 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.008967, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.008975, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.008979, allocations: 3.938 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008981, allocations: 0 / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.009137, allocations: 195.9 kB / 0.8826 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.009154, allocations: 11.95 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.00917, allocations: 4 kB / 0.8826 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.009247, allocations: 7.938 kB / 0.8826 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.009294, allocations: 3.984 kB / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.009299, allocations: 0 / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.579e-05/0.009365, allocations: 143.1 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009365, allocations: 0 / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002687/0.009634, allocations: 11.94 kB / 0.8828 GB, free: 1.336 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 0.0001575/0.009791, allocations: 107.2 kB / 0.8829 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.00991, allocations: 19.69 kB / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.009912, allocations: 0 / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.009949, allocations: 15.67 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.01025, allocations: 12 kB / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.01062, allocations: 161.9 kB / 0.8831 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.819e-05/0.01067, allocations: 63.28 kB / 0.8831 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.01071, allocations: 4 kB / 0.8831 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.01074, allocations: 16.5 kB / 0.8832 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/0.01074, allocations: 0 / 0.8832 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of Templates: time 0.003837/0.01458, allocations: 0.9011 MB / 0.884 GB, free: 15.97 MB / 0.8542 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.127901741769165]