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.0009666/0.0009666, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009612/0.0009612, allocations: 181 kB / 23.36 MB, free: 1.133 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.9342/0.9342, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.426/2.426, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.193e-06/1.193e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.496e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001774/0.001789, allocations: 1.548 MB / 0.8401 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002398/0.002029, allocations: 107.5 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.002056, allocations: 0 / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.19e-05/0.002098, allocations: 7.938 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.344e-05/0.002151, allocations: 3.938 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.00232, allocations: 27.89 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.771e-05/0.002388, allocations: 47.8 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.829e-05/0.002456, allocations: 15.98 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.002509, allocations: 19.98 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.677e-05/0.002545, allocations: 15.97 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.00256, allocations: 4 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.027e-05/0.00261, allocations: 23.91 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.002646, allocations: 8 kB / 0.8404 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.002663, allocations: 15.92 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.257e-05/0.002755, allocations: 47.88 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.002758, allocations: 4 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.82e-07/0.002759, allocations: 0 / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.625e-06/0.002761, allocations: 4 kB / 0.8404 GB, free: 12.33 MB / 0.8073 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.0002771/0.003038, allocations: 276.6 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.003069, allocations: 12.62 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.003097, allocations: 4.938 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.645e-05/0.003174, allocations: 117.6 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.003182, allocations: 384 / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.003192, allocations: 4.375 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.003295, allocations: 69.77 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.0033, allocations: 192 / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.003308, allocations: 4.359 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.003314, allocations: 12.36 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.003334, allocations: 7.938 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.003519, allocations: 165.8 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.795e-05/0.003577, allocations: 69.31 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.003592, allocations: 8.859 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.564e-05/0.003688, allocations: 32.12 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.003705, allocations: 38.56 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.003706, allocations: 0 / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.478e-05/0.003801, allocations: 45.56 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.003827, allocations: 55.41 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.426e-05/0.003892, allocations: 122.7 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.0039, allocations: 25.7 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.003936, allocations: 88.12 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.003951, allocations: 11.94 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.003972, allocations: 13.72 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.004046, allocations: 318.8 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.004059, allocations: 6.828 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-06/0.004067, allocations: 4 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.004092, allocations: 19.67 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.004094, allocations: 0 / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.391e-05/0.004137, allocations: 45.62 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.004147, allocations: 4 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.00415, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.004161, allocations: 3.938 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.004217, allocations: 11.98 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.004219, allocations: 0 / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.004241, allocations: 8 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.004245, allocations: 7.938 kB / 0.842 GB, free: 10.58 MB / 0.8073 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 4.675e-05/0.004292, allocations: 112.7 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.004306, allocations: 7.984 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.411e-05/0.004371, allocations: 49.62 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.004374, allocations: 7.922 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.004375, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.004378, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.98e-05/0.004458, allocations: 81.77 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.00446, allocations: 4 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.004484, allocations: 4 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.004486, allocations: 8 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.004491, allocations: 4.375 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.004491, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004492, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.658e-05/0.004568, allocations: 194.2 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.004576, allocations: 7.938 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-06/0.004583, allocations: 0 / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.405e-05/0.004617, allocations: 4 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.004641, allocations: 3.984 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.004645, allocations: 3.938 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.831e-05/0.004663, allocations: 36.33 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004663, allocations: 0 / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001203/0.004783, allocations: 8 kB / 0.8425 GB, free: 10 MB / 0.8073 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 7.793e-05/0.004861, allocations: 76.42 kB / 0.8426 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.11e-05/0.004912, allocations: 16.84 kB / 0.8426 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.004915, allocations: 0 / 0.8426 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.715e-05/0.004932, allocations: 12.8 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.005055, allocations: 15.98 kB / 0.8426 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002059/0.005261, allocations: 138.2 kB / 0.8427 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.208e-05/0.005293, allocations: 63.28 kB / 0.8428 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.572e-05/0.005309, allocations: 0 / 0.8428 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.005351, allocations: 55.36 kB / 0.8428 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of SimCode: time 4.3e-07/0.005352, allocations: 0 / 0.8428 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of Templates: time 0.002066/0.007417, allocations: 0.8002 MB / 0.8436 GB, free: 8.781 MB / 0.8073 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.140683106146753]