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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009965/0.0009964, allocations: 90.36 kB / 15.36 MB, free: 0.7344 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.007759/0.007759, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.369/1.369, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437.8 MB / 0.7121 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003218, allocations: 8 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.567/0.5673, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00145/0.5688, allocations: 1.215 MB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002953/0.5691, allocations: 104.6 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.5692, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.5692, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.529e-05/0.5693, allocations: 15.92 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.5694, allocations: 19.92 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.5695, allocations: 39.84 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.309e-05/0.5696, allocations: 8 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.466e-05/0.5697, allocations: 15.98 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.5697, allocations: 19.86 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.5697, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.73e-05/0.5698, allocations: 19.98 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.5699, allocations: 11.97 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.5699, allocations: 45.56 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.57, allocations: 51.81 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.57, allocations: 3.938 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.57, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.57, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 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.0004726/0.5705, allocations: 385.5 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5706, allocations: 12.03 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.5706, allocations: 34.75 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/0.5706, allocations: 8.844 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.5708, allocations: 180.2 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.5708, allocations: 384 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.5708, allocations: 384 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.5711, allocations: 86.22 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5711, allocations: 3.938 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.5711, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5711, allocations: 4 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.5714, allocations: 111.8 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.5718, allocations: 280.9 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.572, allocations: 74.53 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.5722, allocations: 60.91 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.5724, allocations: 105 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.5724, allocations: 38.55 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5724, allocations: 4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005942/0.573, allocations: 177.5 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.5731, allocations: 55.41 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.5732, allocations: 125.8 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.5732, allocations: 25.7 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.5733, allocations: 100 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.5733, allocations: 7.906 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.5733, allocations: 9.719 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.5734, allocations: 318.8 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.5736, allocations: 43.97 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.5738, allocations: 51.95 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.5741, allocations: 108.9 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5741, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003732/0.5745, allocations: 137.5 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.5745, allocations: 9.875 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5745, allocations: 0 / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.5745, allocations: 4 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.5747, allocations: 23.98 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.5747, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.983e-05/0.5748, allocations: 19.92 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.5748, allocations: 3.984 kB / 1.027 GB, free: 11.45 MB / 0.7794 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.0001202/0.5749, allocations: 122.3 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.575, allocations: 7.938 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.5754, allocations: 141.5 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5754, allocations: 3.984 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5754, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5754, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.5756, allocations: 181.6 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5756, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.5758, allocations: 27.98 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5758, allocations: 3.938 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.5758, allocations: 0 / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5758, allocations: 0 / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5758, allocations: 0 / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.5762, allocations: 235.2 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.5763, allocations: 85.02 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.5763, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.5764, allocations: 19.98 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.5765, allocations: 3.984 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.5765, allocations: 4 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.174e-05/0.5766, allocations: 99.27 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5766, allocations: 0 / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002349/0.5768, allocations: 8 kB / 1.028 GB, free: 10.42 MB / 0.7794 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.0007651/0.5776, allocations: 0.7709 MB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003789/0.578, allocations: 107.9 kB / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.578, allocations: 0 / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.5782, allocations: 51.95 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.5785, allocations: 8 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.579, allocations: 186.3 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.5793, allocations: 0.6965 MB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.5793, allocations: 4 kB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.5794, allocations: 15.42 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5794, allocations: 7.938 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.5934, allocations: 1.551 MB / 1.031 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.5936, allocations: 197.3 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.288, allocations: 0 / 1.032 GB, free: 6.797 MB / 0.7794 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches