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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009265/0.009265, allocations: 103.3 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001373, allocations: 189 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 64.11 kB / 1.054 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8802/0.8815, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002892/0.8845, allocations: 1.484 MB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003167/0.8848, allocations: 107.7 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.8849, allocations: 0 / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.451e-05/0.8849, allocations: 3.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.137e-05/0.885, allocations: 11.92 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.8852, allocations: 23.91 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.8854, allocations: 39.91 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.8855, allocations: 16 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.218e-05/0.8855, allocations: 15.92 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.8856, allocations: 19.92 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.8856, allocations: 4 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-05/0.8857, allocations: 15.98 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.8858, allocations: 19.91 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.8858, allocations: 23.86 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.886, allocations: 59.75 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.886, allocations: 0 / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.886, allocations: 0 / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.886, allocations: 8 kB / 1.209 GB, free: 11.7 MB / 0.9356 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.0005767/0.8866, allocations: 373.5 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.8866, allocations: 12.03 kB / 1.209 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.8867, allocations: 30.75 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.8867, allocations: 8.844 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.8868, allocations: 176.2 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.8869, allocations: 384 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.8869, allocations: 384 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.8872, allocations: 86.2 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.8872, allocations: 3.938 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.8872, allocations: 7.922 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8872, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.8875, allocations: 79.86 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.8879, allocations: 292.8 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.8882, allocations: 66.53 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.8883, allocations: 36.92 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.8886, allocations: 117 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.8886, allocations: 34.5 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.8886, allocations: 0 / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005561/0.8892, allocations: 145.6 kB / 1.21 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.8892, allocations: 55.41 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.8894, allocations: 121.8 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.8895, allocations: 29.7 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.8895, allocations: 96.03 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.8896, allocations: 11.91 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.8896, allocations: 9.719 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8897, allocations: 326.8 kB / 1.211 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.8899, allocations: 31.97 kB / 1.211 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.89, allocations: 35.95 kB / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.8903, allocations: 88.66 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8903, allocations: 0 / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003364/0.8907, allocations: 113.5 kB / 1.211 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8907, allocations: 8 kB / 1.211 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8907, allocations: 0 / 1.211 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.8907, allocations: 0 / 1.211 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.8908, allocations: 11.98 kB / 1.211 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.8909, allocations: 8 kB / 1.211 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.8909, allocations: 11.92 kB / 1.211 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.891, allocations: 4 kB / 1.211 GB, free: 9.062 MB / 0.9356 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.82e-05/0.891, allocations: 121.8 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.8911, allocations: 0 / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.8915, allocations: 125.5 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.8915, allocations: 0 / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8915, allocations: 0 / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.8915, allocations: 4 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.8917, allocations: 181.5 kB / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8917, allocations: 0 / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.8918, allocations: 19.97 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.8918, allocations: 384 / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.8918, allocations: 4 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8918, allocations: 4 kB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8918, allocations: 0 / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.8922, allocations: 223.2 kB / 1.212 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.8922, allocations: 81.02 kB / 1.212 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.8923, allocations: 0 / 1.212 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.8924, allocations: 19.98 kB / 1.212 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.8924, allocations: 7.984 kB / 1.212 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.8924, allocations: 0 / 1.212 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.8925, allocations: 100.6 kB / 1.212 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8925, allocations: 0 / 1.212 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002302/0.8927, allocations: 8 kB / 1.212 GB, free: 8.07 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.0007138/0.8935, allocations: 0.7435 MB / 1.213 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.8938, allocations: 83.91 kB / 1.213 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8938, allocations: 4 kB / 1.213 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.894, allocations: 35.97 kB / 1.213 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.8942, allocations: 11.98 kB / 1.213 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.8948, allocations: 187 kB / 1.213 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.8951, allocations: 0.6807 MB / 1.214 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.8951, allocations: 8 kB / 1.214 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.8952, allocations: 19.42 kB / 1.214 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.8952, allocations: 0 / 1.214 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.9138, allocations: 1.912 MB / 1.216 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/8.641, allocations: 9.953 kB / 1.216 GB, free: 4.379 MB / 0.9356 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) 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) Reference file matches