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.001294/0.001294, allocations: 117.3 kB / 17.16 MB, free: 5.914 MB / 14.72 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.001444/0.001444, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 3.196/3.196, allocations: 0.5003 GB / 0.8026 GB, free: 6.773 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 67.91 kB / 1.165 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204/1.207, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00275/1.21, allocations: 1.516 MB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003288/1.21, allocations: 110.2 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/1.21, allocations: 0.9062 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.842e-05/1.21, allocations: 0.5156 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.724e-05/1.21, allocations: 11.23 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/1.21, allocations: 24.75 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/1.21, allocations: 46.27 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/1.211, allocations: 10.31 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/1.211, allocations: 21.75 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.735e-05/1.211, allocations: 19.38 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/1.211, allocations: 3.781 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/1.211, allocations: 18.97 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/1.211, allocations: 15.19 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/1.211, allocations: 22.36 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/1.211, allocations: 58.61 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.211, allocations: 4 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.22e-07/1.211, allocations: 0 / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.127e-05/1.211, allocations: 3.938 kB / 1.342 GB, free: 15.02 MB / 1.061 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.0005332/1.212, allocations: 381.5 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.212, allocations: 9.906 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.467e-05/1.212, allocations: 2.047 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.06e-05/1.212, allocations: 31.36 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/1.212, allocations: 8.359 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/1.212, allocations: 178 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/1.212, allocations: 2.156 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/1.212, allocations: 1.5 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/1.212, allocations: 77.67 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/1.212, allocations: 0 / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/1.212, allocations: 5.156 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/1.212, allocations: 3.938 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/1.213, allocations: 76.39 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/1.213, allocations: 292.4 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/1.213, allocations: 63.53 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/1.213, allocations: 45.64 kB / 1.343 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/1.214, allocations: 105.3 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/1.214, allocations: 31.17 kB / 1.343 GB, free: 13.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/1.214, allocations: 1.5 kB / 1.343 GB, free: 13.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005925/1.214, allocations: 159.2 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/1.214, allocations: 53.19 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/1.214, allocations: 128.1 kB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/1.214, allocations: 30.83 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/1.214, allocations: 93.06 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/1.214, allocations: 10.08 kB / 1.344 GB, free: 13.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/1.214, allocations: 16.62 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.403e-05/1.214, allocations: 323.9 kB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/1.215, allocations: 34.28 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/1.215, allocations: 36.7 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/1.215, allocations: 80.55 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.215, allocations: 4 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003485/1.215, allocations: 116.5 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.215, allocations: 10.12 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.215, allocations: 0 / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.215, allocations: 3.938 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/1.216, allocations: 16.78 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.216, allocations: 0 / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.496e-05/1.216, allocations: 11.27 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/1.216, allocations: 1.625 kB / 1.344 GB, free: 13.06 MB / 1.061 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 7.217e-05/1.216, allocations: 119.3 kB / 1.344 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/1.216, allocations: 7.188 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/1.216, allocations: 120 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.216, allocations: 0 / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.216, allocations: 1.125 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.216, allocations: 0.5625 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/1.216, allocations: 191.5 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.216, allocations: 0 / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.8e-05/1.216, allocations: 20.7 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/1.216, allocations: 0 / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/1.216, allocations: 1.312 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.216, allocations: 0.5625 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.216, allocations: 0 / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/1.217, allocations: 208.6 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/1.217, allocations: 86.73 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/1.217, allocations: 1.844 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/1.217, allocations: 19.12 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/1.217, allocations: 4.156 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/1.217, allocations: 1.406 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.104e-05/1.217, allocations: 97.39 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.217, allocations: 0 / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002389/1.217, allocations: 20.69 kB / 1.345 GB, free: 12.31 MB / 1.061 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.0006104/1.218, allocations: 0.7393 MB / 1.346 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003965/1.218, allocations: 92.22 kB / 1.346 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.218, allocations: 0 / 1.346 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/1.218, allocations: 38.59 kB / 1.346 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/1.219, allocations: 4.469 kB / 1.346 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/1.219, allocations: 193.8 kB / 1.346 GB, free: 11.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/1.219, allocations: 0.6863 MB / 1.347 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.867e-05/1.219, allocations: 10.06 kB / 1.347 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/1.219, allocations: 19.59 kB / 1.347 GB, free: 10.72 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.219, allocations: 0 / 1.347 GB, free: 10.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/1.24, allocations: 1.92 MB / 1.349 GB, free: 10.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.365/9.605, allocations: 3.078 kB / 1.349 GB, free: 10.3 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.607233576010913]