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.001617/0.001617, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.002056/0.002056, allocations: 220 kB / 23.05 MB, free: 5.074 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.437/3.437, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 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.001958/0.001958, allocations: 68.23 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3819, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002949/0.3849, allocations: 1.517 MB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003233/0.3852, allocations: 103.7 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.3852, allocations: 4 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.011e-05/0.3853, allocations: 7.938 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.3854, allocations: 7.922 kB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.3856, allocations: 23.91 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.3857, allocations: 51.78 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.3858, allocations: 8 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.3858, allocations: 15.92 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.3859, allocations: 23.92 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.3859, allocations: 4 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.416e-05/0.386, allocations: 11.98 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.386, allocations: 23.97 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.3861, allocations: 23.8 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.3862, allocations: 56.09 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3862, allocations: 0 / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.406e-06/0.3862, allocations: 4 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3862, allocations: 0 / 1.347 GB, free: 14.57 MB / 1.045 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.0005692/0.3868, allocations: 307.9 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3868, allocations: 11.97 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.597e-05/0.3869, allocations: 4.188 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.3869, allocations: 34.69 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.3869, allocations: 12.89 kB / 1.348 GB, free: 14.17 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.3871, allocations: 118.4 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3871, allocations: 4.375 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.3871, allocations: 384 / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.3874, allocations: 77.95 kB / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3874, allocations: 0 / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3874, allocations: 8 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3874, allocations: 3.984 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.3877, allocations: 75.92 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.3881, allocations: 255.9 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.3884, allocations: 66.53 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.3885, allocations: 44.92 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.3888, allocations: 27.97 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3888, allocations: 34.56 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3888, allocations: 4 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0006219/0.3894, allocations: 149.5 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3895, allocations: 51.41 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3896, allocations: 132.7 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3896, allocations: 25.7 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.3897, allocations: 92.14 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.3897, allocations: 11.89 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.3897, allocations: 17.72 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3899, allocations: 314.8 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.39, allocations: 43.95 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.3902, allocations: 43.95 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.3905, allocations: 80.72 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3905, allocations: 0 / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003499/0.3908, allocations: 117.5 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3909, allocations: 4 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3909, allocations: 0 / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3909, allocations: 0 / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.391, allocations: 19.97 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.391, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.3911, allocations: 19.86 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3911, allocations: 4 kB / 1.349 GB, free: 12.2 MB / 1.045 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 9.69e-05/0.3912, allocations: 117.8 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.3912, allocations: 7.984 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/0.3916, allocations: 117.5 kB / 1.35 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3916, allocations: 0 / 1.35 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3916, allocations: 0 / 1.35 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3916, allocations: 4 kB / 1.35 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.3919, allocations: 160.6 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3919, allocations: 0 / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.774e-05/0.392, allocations: 15.98 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.392, allocations: 0 / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.392, allocations: 0 / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.392, allocations: 3.984 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.392, allocations: 384 / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.3924, allocations: 211.3 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.3924, allocations: 11.94 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3924, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3925, allocations: 11.98 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3926, allocations: 4 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3926, allocations: 4 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.309e-05/0.3926, allocations: 103.2 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3926, allocations: 0 / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002533/0.3929, allocations: 8 kB / 1.35 GB, free: 11.36 MB / 1.045 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.0007956/0.3937, allocations: 0.7397 MB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003657/0.394, allocations: 83.86 kB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3941, allocations: 0 / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.3942, allocations: 47.95 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.3945, allocations: 9.875 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.395, allocations: 194.9 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.3955, allocations: 0.6885 MB / 1.352 GB, free: 9.508 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.967e-05/0.3955, allocations: 4 kB / 1.352 GB, free: 9.504 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.3955, allocations: 23.42 kB / 1.352 GB, free: 9.48 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.3955, allocations: 4 kB / 1.352 GB, free: 9.477 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.4202, allocations: 2.019 MB / 1.354 GB, free: 7.598 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.61, allocations: 12.92 kB / 1.354 GB, free: 7.59 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.996615872019902]