Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00163/0.00163, allocations: 110.5 kB / 16.46 MB, free: 6.453 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.001391/0.001391, allocations: 195.8 kB / 19.41 MB, free: 3.645 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.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 443.5 MB / 0.7287 GB, free: 13.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 63.89 kB / 1.056 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8743/0.8764, allocations: 160.7 MB / 1.213 GB, free: 3.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003553/0.88, allocations: 1.495 MB / 1.214 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003682/0.8803, allocations: 111.2 kB / 1.214 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.8804, allocations: 1.125 kB / 1.214 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.693e-05/0.8804, allocations: 0 / 1.214 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.156e-05/0.8805, allocations: 14.08 kB / 1.214 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.8807, allocations: 21.38 kB / 1.215 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.8808, allocations: 45.06 kB / 1.215 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.8809, allocations: 7.281 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.2e-05/0.881, allocations: 21.55 kB / 1.215 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.881, allocations: 22.06 kB / 1.215 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.8811, allocations: 7.219 kB / 1.215 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.514e-05/0.8811, allocations: 24.42 kB / 1.215 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.8812, allocations: 10.08 kB / 1.215 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.8812, allocations: 25.3 kB / 1.215 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.8814, allocations: 53.05 kB / 1.215 GB, free: 2.465 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.8814, allocations: 4 kB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8814, allocations: 1.188 kB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.8814, allocations: 0 / 1.215 GB, free: 2.461 MB / 0.92 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.0006811/0.8821, allocations: 381.9 kB / 1.215 GB, free: 2.062 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.8821, allocations: 14.25 kB / 1.215 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.88e-05/0.8822, allocations: 35.56 kB / 1.215 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.8823, allocations: 8.453 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.8825, allocations: 182.2 kB / 1.215 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.8825, allocations: 1.688 kB / 1.215 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.8825, allocations: 3 kB / 1.215 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.8828, allocations: 74.78 kB / 1.215 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.8828, allocations: 3.938 kB / 1.215 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.8828, allocations: 0.9688 kB / 1.215 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.8828, allocations: 1.156 kB / 1.215 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.8831, allocations: 74.2 kB / 1.215 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.8835, allocations: 293.9 kB / 1.216 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.8837, allocations: 71.2 kB / 1.216 GB, free: 1.348 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.8839, allocations: 46.88 kB / 1.216 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.8842, allocations: 107.3 kB / 1.216 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.8842, allocations: 35.36 kB / 1.216 GB, free: 1.176 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.8842, allocations: 0 / 1.216 GB, free: 1.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005788/0.8848, allocations: 154.6 kB / 1.216 GB, free: 1.086 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.8848, allocations: 52.47 kB / 1.216 GB, free: 1.023 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.885, allocations: 125 kB / 1.216 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.885, allocations: 26.98 kB / 1.216 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.8851, allocations: 90.45 kB / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.8851, allocations: 9.031 kB / 1.216 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.8851, allocations: 17.34 kB / 1.216 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.8853, allocations: 320 kB / 1.217 GB, free: 452 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.8854, allocations: 37.23 kB / 1.217 GB, free: 436 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.8856, allocations: 37.38 kB / 1.217 GB, free: 420 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.8859, allocations: 83.84 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8859, allocations: 0 / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003289/0.8862, allocations: 118.5 kB / 1.217 GB, free: 300 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.8862, allocations: 4.656 kB / 1.217 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8862, allocations: 0.7812 kB / 1.217 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.8862, allocations: 0 / 1.217 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.8864, allocations: 14.77 kB / 1.217 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8864, allocations: 5.125 kB / 1.217 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.8864, allocations: 14.03 kB / 1.217 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.8865, allocations: 0.9688 kB / 1.217 GB, free: 284 kB / 0.92 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 0.0001058/0.8866, allocations: 119.2 kB / 1.217 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.8866, allocations: 3.469 kB / 1.217 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.887, allocations: 124.7 kB / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.887, allocations: 8.688 kB / 1.217 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.887, allocations: 1.125 kB / 1.217 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.887, allocations: 3.938 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.8873, allocations: 180 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8873, allocations: 0 / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.8874, allocations: 18.7 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.8874, allocations: 0.7812 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.8874, allocations: 5.062 kB / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8874, allocations: 4 kB / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8874, allocations: 0 / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.8878, allocations: 205.5 kB / 1.218 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.8878, allocations: 83.34 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.8879, allocations: 1.094 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.888, allocations: 18.09 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.888, allocations: 6.188 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.888, allocations: 1.125 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001062/0.8881, allocations: 104.2 kB / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8881, allocations: 0 / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002444/0.8884, allocations: 12.56 kB / 1.218 GB, free: 15.45 MB / 0.9356 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.0007904/0.8892, allocations: 0.7482 MB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.8895, allocations: 78.08 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8895, allocations: 0 / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.8897, allocations: 44.45 kB / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.8899, allocations: 7.5 kB / 1.219 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00056/0.8905, allocations: 184.8 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.8908, allocations: 0.687 MB / 1.22 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.8909, allocations: 5.531 kB / 1.22 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.8909, allocations: 13.84 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of SimCode: time 5.81e-07/0.8909, allocations: 0 / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.9163, allocations: 1.896 MB / 1.221 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/9.372, allocations: 7.078 kB / 1.221 GB, free: 12.76 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.347976086195558]