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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_11_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.00431/0.00431, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001244/0.001244, allocations: 196 kB / 16.68 MB, free: 5.934 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.734/2.734, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 71.88 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6579/0.6599, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002704/0.6626, allocations: 1.488 MB / 1.222 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003139/0.663, allocations: 115.7 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.663, allocations: 0 / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.663, allocations: 3.938 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.6631, allocations: 3.938 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.6633, allocations: 23.91 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.522e-05/0.6634, allocations: 51.84 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.6635, allocations: 7.984 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.807e-05/0.6636, allocations: 19.98 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.6636, allocations: 23.84 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.6636, allocations: 4 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-05/0.6637, allocations: 19.98 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.6638, allocations: 8 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.6638, allocations: 23.86 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.6639, allocations: 58.41 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.664, allocations: 8 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.664, allocations: 0 / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.664, allocations: 0 / 1.222 GB, free: 188 kB / 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.0005639/0.6645, allocations: 380.1 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.6646, allocations: 8.031 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.6646, allocations: 34.75 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.6647, allocations: 8.891 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.6648, allocations: 173.3 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.6648, allocations: 4.375 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.6648, allocations: 8.312 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.6651, allocations: 70.22 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.6651, allocations: 3.938 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.6651, allocations: 0 / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.6652, allocations: 11.92 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.6655, allocations: 79.86 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.6659, allocations: 288.8 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.6661, allocations: 66.53 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.6663, allocations: 52.91 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.6666, allocations: 101.1 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.6666, allocations: 38.48 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.6666, allocations: 0 / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0006176/0.6672, allocations: 149.6 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.6673, allocations: 51.41 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.6674, allocations: 128.1 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.6674, allocations: 25.7 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.6675, allocations: 92.09 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.6675, allocations: 11.95 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.6676, allocations: 17.72 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6677, allocations: 314.8 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.6679, allocations: 39.95 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.668, allocations: 39.91 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.6684, allocations: 80.72 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6684, allocations: 0 / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003711/0.6687, allocations: 117.6 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6688, allocations: 4 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6688, allocations: 3.984 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.6688, allocations: 4 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.6689, allocations: 15.98 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.6689, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.329e-05/0.669, allocations: 15.97 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.669, allocations: 4 kB / 1.224 GB, free: 13.54 MB / 0.9512 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 9e-05/0.6691, allocations: 121.7 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.6692, allocations: 7.953 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.6696, allocations: 121.5 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6696, allocations: 0 / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6696, allocations: 3.938 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.6696, allocations: 0 / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.6698, allocations: 189.6 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6698, allocations: 0 / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.6699, allocations: 15.98 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.6699, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.67, allocations: 4 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.67, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.67, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.6704, allocations: 219.7 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.6705, allocations: 81.11 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.6705, allocations: 3.938 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.6706, allocations: 15.97 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.6706, allocations: 4 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.6707, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.12e-05/0.6707, allocations: 95.27 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6707, allocations: 0 / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002429/0.671, allocations: 15.94 kB / 1.225 GB, free: 12.55 MB / 0.9512 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.0007705/0.6718, allocations: 0.7518 MB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.6722, allocations: 79.92 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6722, allocations: 0 / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.6723, allocations: 43.95 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.6726, allocations: 4 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.6731, allocations: 198.8 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.6734, allocations: 0.6846 MB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.6734, allocations: 4 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.6735, allocations: 15.44 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.6735, allocations: 0 / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.6951, allocations: 1.879 MB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/8.162, allocations: 11.84 kB / 1.229 GB, free: 8.875 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.csv","/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) Reference file matches