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.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.001639/0.001639, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001885/0.001885, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.575/1.575, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 476.7 MB / 0.7611 GB, free: 15.72 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> 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 0.002187/0.002187, allocations: 71.83 kB / 1.104 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181/1.184, allocations: 168.7 MB / 1.269 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002616/1.186, allocations: 1.501 MB / 1.27 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003011/1.187, allocations: 112.7 kB / 1.27 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/1.187, allocations: 0.5625 kB / 1.27 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/1.187, allocations: 1.812 kB / 1.27 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.595e-05/1.187, allocations: 11.23 kB / 1.27 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/1.187, allocations: 23.66 kB / 1.27 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.933e-05/1.187, allocations: 42.5 kB / 1.27 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/1.187, allocations: 17.12 kB / 1.27 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/1.187, allocations: 14.08 kB / 1.27 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/1.187, allocations: 27.09 kB / 1.27 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/1.187, allocations: 4.094 kB / 1.27 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.947e-05/1.187, allocations: 15.67 kB / 1.27 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/1.187, allocations: 14.33 kB / 1.27 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/1.187, allocations: 18.92 kB / 1.27 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/1.188, allocations: 65.62 kB / 1.271 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/1.188, allocations: 1.719 kB / 1.271 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/1.188, allocations: 0 / 1.271 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.601e-06/1.188, allocations: 0 / 1.271 GB, free: 6.496 MB / 0.9981 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.0005061/1.188, allocations: 380.5 kB / 1.271 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.188, allocations: 10.36 kB / 1.271 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/1.188, allocations: 32.34 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/1.188, allocations: 7.453 kB / 1.271 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.953e-05/1.188, allocations: 178.4 kB / 1.271 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/1.188, allocations: 1.156 kB / 1.271 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/1.188, allocations: 6.25 kB / 1.271 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/1.189, allocations: 73.89 kB / 1.271 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.189, allocations: 5 kB / 1.271 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/1.189, allocations: 0 / 1.271 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.189, allocations: 0.9688 kB / 1.271 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/1.189, allocations: 79.67 kB / 1.271 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/1.189, allocations: 299.7 kB / 1.272 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/1.189, allocations: 63.7 kB / 1.272 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/1.19, allocations: 45.62 kB / 1.272 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/1.19, allocations: 105.7 kB / 1.272 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/1.19, allocations: 39.97 kB / 1.272 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/1.19, allocations: 0 / 1.272 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005905/1.19, allocations: 147.5 kB / 1.272 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/1.19, allocations: 52.66 kB / 1.272 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.95e-05/1.191, allocations: 128.2 kB / 1.272 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/1.191, allocations: 25.7 kB / 1.272 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/1.191, allocations: 93.42 kB / 1.272 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/1.191, allocations: 14.16 kB / 1.272 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/1.191, allocations: 13.69 kB / 1.272 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.626e-05/1.191, allocations: 318.3 kB / 1.273 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/1.191, allocations: 35.98 kB / 1.273 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/1.191, allocations: 36.28 kB / 1.273 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/1.191, allocations: 87.19 kB / 1.273 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.191, allocations: 0.7812 kB / 1.273 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003433/1.192, allocations: 115.6 kB / 1.273 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.192, allocations: 6.609 kB / 1.273 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.192, allocations: 4 kB / 1.273 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.192, allocations: 1.062 kB / 1.273 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/1.192, allocations: 15.11 kB / 1.273 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.192, allocations: 0.8125 kB / 1.273 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.878e-05/1.192, allocations: 13 kB / 1.273 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/1.192, allocations: 0.7188 kB / 1.273 GB, free: 4.535 MB / 0.9981 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 6.395e-05/1.192, allocations: 118.8 kB / 1.273 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/1.192, allocations: 10.95 kB / 1.273 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/1.193, allocations: 123.2 kB / 1.273 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/1.193, allocations: 0.9375 kB / 1.273 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.193, allocations: 0.6562 kB / 1.273 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.193, allocations: 0.9062 kB / 1.273 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/1.193, allocations: 182.8 kB / 1.273 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.193, allocations: 0.9062 kB / 1.273 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.452e-05/1.193, allocations: 19.75 kB / 1.273 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.193, allocations: 4.969 kB / 1.273 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/1.193, allocations: 0.8125 kB / 1.273 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/1.193, allocations: 0.7031 kB / 1.273 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.193, allocations: 0.7188 kB / 1.273 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/1.193, allocations: 212.1 kB / 1.274 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/1.193, allocations: 79.64 kB / 1.274 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/1.193, allocations: 4.781 kB / 1.274 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.193, allocations: 15.81 kB / 1.274 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/1.193, allocations: 3.891 kB / 1.274 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/1.193, allocations: 9.406 kB / 1.274 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.917e-05/1.193, allocations: 101.5 kB / 1.274 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.193, allocations: 0 / 1.274 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002322/1.194, allocations: 18.41 kB / 1.274 GB, free: 3.781 MB / 0.9981 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.0005323/1.194, allocations: 0.737 MB / 1.274 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000331/1.194, allocations: 87.69 kB / 1.275 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.194, allocations: 0 / 1.275 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/1.195, allocations: 40.42 kB / 1.275 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/1.195, allocations: 6.812 kB / 1.275 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/1.195, allocations: 189.7 kB / 1.275 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/1.196, allocations: 0.6855 MB / 1.275 GB, free: 18.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.143e-05/1.196, allocations: 4.828 kB / 1.275 GB, free: 18.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/1.196, allocations: 17.38 kB / 1.275 GB, free: 18.2 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/1.196, allocations: 0 / 1.275 GB, free: 18.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/1.222, allocations: 1.886 MB / 1.277 GB, free: 17.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/9.44, allocations: 14.94 kB / 1.277 GB, free: 17.77 MB / 1.014 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.86552720097825]