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.001743/0.001743, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.002085/0.002085, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.553/1.553, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.917/2.917, allocations: 476.7 MB / 0.7678 GB, free: 9.328 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_11_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.002073/0.002073, allocations: 67.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9771/0.9792, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002868/0.9821, allocations: 1.515 MB / 1.28 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002994/0.9824, allocations: 114 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.9824, allocations: 1.188 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.534e-05/0.9824, allocations: 5.25 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.865e-05/0.9825, allocations: 6.953 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.9827, allocations: 23.8 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.205e-05/0.9828, allocations: 46.8 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.477e-05/0.9829, allocations: 10.39 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.9829, allocations: 21.45 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.983, allocations: 23.25 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.983, allocations: 4.156 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.778e-05/0.983, allocations: 15.5 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.9831, allocations: 14.02 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.9831, allocations: 19.25 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.9832, allocations: 61.47 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9832, allocations: 0.7969 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9832, allocations: 5.062 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.9832, allocations: 0 / 1.281 GB, free: 10.47 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.0006245/0.9839, allocations: 381.2 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.9839, allocations: 9.969 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.152e-05/0.9839, allocations: 192 / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.9839, allocations: 32.38 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.984, allocations: 12.8 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.9841, allocations: 181.7 kB / 1.281 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.9841, allocations: 1.5 kB / 1.281 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.9841, allocations: 6.328 kB / 1.281 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.9844, allocations: 80.98 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.9844, allocations: 0 / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.9844, allocations: 0.9688 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.9844, allocations: 1.125 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.9847, allocations: 75.89 kB / 1.282 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.9851, allocations: 291.9 kB / 1.282 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.9854, allocations: 63.45 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.9855, allocations: 45.67 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.9858, allocations: 105.5 kB / 1.282 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.9858, allocations: 35.59 kB / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.9858, allocations: 0 / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0006557/0.9865, allocations: 151.3 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.9865, allocations: 53.2 kB / 1.282 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.9866, allocations: 127.5 kB / 1.282 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.9867, allocations: 26.23 kB / 1.282 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.9867, allocations: 93.28 kB / 1.282 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.9867, allocations: 10.25 kB / 1.282 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.9868, allocations: 12.59 kB / 1.282 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.9869, allocations: 323.5 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.9871, allocations: 35.61 kB / 1.283 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.9873, allocations: 35.58 kB / 1.283 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.9876, allocations: 84.84 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9876, allocations: 4 kB / 1.283 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003557/0.9879, allocations: 112.9 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.988, allocations: 4.781 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.988, allocations: 5.062 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.988, allocations: 0 / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.9881, allocations: 16.33 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.9881, allocations: 0.7969 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.308e-05/0.9882, allocations: 16.05 kB / 1.283 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.9882, allocations: 5.031 kB / 1.283 GB, free: 8.508 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 8.846e-05/0.9883, allocations: 114.2 kB / 1.283 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.9883, allocations: 15.11 kB / 1.283 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004048/0.9887, allocations: 123.6 kB / 1.283 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.9887, allocations: 1.312 kB / 1.283 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.9887, allocations: 0 / 1.283 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9887, allocations: 2.047 kB / 1.283 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.9889, allocations: 179.1 kB / 1.284 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9889, allocations: 0 / 1.284 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.989, allocations: 19.75 kB / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.989, allocations: 1.469 kB / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.989, allocations: 0.75 kB / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.989, allocations: 3.938 kB / 1.284 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.989, allocations: 1.531 kB / 1.284 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.9894, allocations: 214.8 kB / 1.284 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.9895, allocations: 85 kB / 1.284 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.9895, allocations: 4 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.9896, allocations: 11.81 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.9897, allocations: 4.359 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.9897, allocations: 0.9688 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.062e-05/0.9897, allocations: 100.1 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9897, allocations: 1.344 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002359/0.99, allocations: 17.22 kB / 1.284 GB, free: 7.762 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.0007467/0.9907, allocations: 0.7417 MB / 1.285 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.9911, allocations: 86.78 kB / 1.285 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9911, allocations: 1.281 kB / 1.285 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.9913, allocations: 37.84 kB / 1.285 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.9915, allocations: 9.609 kB / 1.285 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.992, allocations: 199.5 kB / 1.285 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.9923, allocations: 0.6865 MB / 1.286 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.9923, allocations: 6.062 kB / 1.286 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.9924, allocations: 19.52 kB / 1.286 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.9924, allocations: 0 / 1.286 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/1.016, allocations: 1.933 MB / 1.288 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.504/9.52, allocations: 9.031 kB / 1.288 GB, free: 5.711 MB / 0.9981 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/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: 16.035035091044847]