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.0009083/0.0009083, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001044/0.001044, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9023/0.9023, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.664/1.664, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.175e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001571/0.001583, allocations: 1.506 MB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000218/0.001801, allocations: 99.73 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.001828, allocations: 0 / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.001864, allocations: 3.938 kB / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.142e-05/0.001916, allocations: 19.86 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.002087, allocations: 15.98 kB / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.007e-05/0.002157, allocations: 43.84 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.041e-05/0.002237, allocations: 11.98 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.811e-05/0.002286, allocations: 23.97 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.002329, allocations: 19.92 kB / 0.9522 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.002343, allocations: 0 / 0.9522 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.104e-05/0.002394, allocations: 19.92 kB / 0.9522 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.002435, allocations: 19.92 kB / 0.9522 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.002453, allocations: 8 kB / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.002559, allocations: 71.72 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.462e-06/0.00256, allocations: 4 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002561, allocations: 0 / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.002564, allocations: 0 / 0.9523 GB, free: 1.594 MB / 0.9011 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.0003342/0.002898, allocations: 302 kB / 0.9526 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.00293, allocations: 8.031 kB / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.002961, allocations: 34.75 kB / 0.9526 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.969e-05/0.002981, allocations: 8.891 kB / 0.9526 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.071e-05/0.003051, allocations: 123 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.003061, allocations: 8.375 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.003068, allocations: 384 / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.00322, allocations: 70.22 kB / 0.9528 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.003226, allocations: 192 / 0.9528 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.003234, allocations: 4.375 kB / 0.9528 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.003238, allocations: 4.125 kB / 0.9528 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.003394, allocations: 87.86 kB / 0.9529 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.00366, allocations: 244 kB / 0.9532 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.003776, allocations: 62.53 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.003853, allocations: 44.91 kB / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.003984, allocations: 39.91 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.004003, allocations: 34.56 kB / 0.9533 GB, free: 416 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.004004, allocations: 0 / 0.9533 GB, free: 416 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003043/0.004308, allocations: 141.5 kB / 0.9535 GB, free: 268 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.004335, allocations: 55.41 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.004407, allocations: 139.2 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.004415, allocations: 25.7 kB / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.004465, allocations: 100.1 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.004481, allocations: 11.88 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.004507, allocations: 13.72 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.004576, allocations: 318.8 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-05/0.00465, allocations: 35.95 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.004719, allocations: 39.95 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.004855, allocations: 84.72 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004857, allocations: 0 / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001619/0.005019, allocations: 109.5 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.005031, allocations: 14.5 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005035, allocations: 0 / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.005044, allocations: 0 / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.005115, allocations: 19.97 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.005119, allocations: 0 / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.005154, allocations: 11.98 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.00516, allocations: 4 kB / 0.9544 GB, free: 15.25 MB / 0.9167 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.473e-05/0.005215, allocations: 109.8 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.005229, allocations: 15.89 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.005424, allocations: 125.8 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.005427, allocations: 4 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.00543, allocations: 3.938 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.005433, allocations: 0 / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.005537, allocations: 144.7 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005538, allocations: 0 / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.005578, allocations: 19.92 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.00558, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.005587, allocations: 4 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005587, allocations: 0 / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005588, allocations: 0 / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.005768, allocations: 203.4 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.005776, allocations: 11.89 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.005785, allocations: 4 kB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.005836, allocations: 19.97 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.005866, allocations: 4 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.005869, allocations: 7.938 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.005905, allocations: 95.27 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005905, allocations: 0 / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001483/0.006054, allocations: 12 kB / 0.9552 GB, free: 14.39 MB / 0.9167 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.0003694/0.006423, allocations: 0.7467 MB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.006603, allocations: 79.86 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006604, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.449e-05/0.006678, allocations: 43.95 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.006846, allocations: 6.672 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.007173, allocations: 187 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.007218, allocations: 75.27 kB / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.007237, allocations: 4 kB / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.00727, allocations: 16.5 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.00727, allocations: 0 / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.02179, allocations: 2.575 MB / 0.9588 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/6.999, allocations: 11.38 kB / 0.9588 GB, free: 10.72 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.csv","/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: 11.037371962331235]