Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_9_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.0008667/0.0008668, allocations: 91.84 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.005311/0.005311, allocations: 169.8 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.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.11/2.11, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003058, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.544, allocations: 142.4 MB / 0.9552 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001354/0.5454, allocations: 1.213 MB / 0.9563 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002934/0.5457, allocations: 104.9 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.5458, allocations: 0 / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.5458, allocations: 1.281 kB / 0.9565 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.5459, allocations: 8.922 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.546, allocations: 20.19 kB / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.462e-05/0.5461, allocations: 41.89 kB / 0.9565 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.5462, allocations: 12.16 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.127e-05/0.5462, allocations: 13.86 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.072e-05/0.5463, allocations: 21.84 kB / 0.9566 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.5463, allocations: 2.312 kB / 0.9566 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.77e-05/0.5464, allocations: 16.95 kB / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.5464, allocations: 11.28 kB / 0.9566 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.5464, allocations: 48.92 kB / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.769e-05/0.5465, allocations: 54.55 kB / 0.9567 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.5466, allocations: 0.9688 kB / 0.9567 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5466, allocations: 0 / 0.9567 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.5466, allocations: 0 / 0.9567 GB, free: 6.43 MB / 0.7169 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.0003984/0.547, allocations: 379.3 kB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.547, allocations: 9.656 kB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.5471, allocations: 31.62 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.5471, allocations: 11.95 kB / 0.9571 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.288e-05/0.5472, allocations: 180.1 kB / 0.9573 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.5472, allocations: 1.281 kB / 0.9573 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.5472, allocations: 6.625 kB / 0.9573 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.5474, allocations: 84.67 kB / 0.9574 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.5475, allocations: 5 kB / 0.9574 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.5475, allocations: 4 kB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5475, allocations: 1.25 kB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.5478, allocations: 94.86 kB / 0.9575 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.5481, allocations: 289.5 kB / 0.9577 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.5483, allocations: 78.16 kB / 0.9578 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.5484, allocations: 52.69 kB / 0.9579 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.5486, allocations: 109.9 kB / 0.958 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.5487, allocations: 34.56 kB / 0.958 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.5487, allocations: 1.906 kB / 0.958 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005388/0.5492, allocations: 178.9 kB / 0.9582 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.5492, allocations: 56.78 kB / 0.9582 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.5493, allocations: 128.5 kB / 0.9584 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.5493, allocations: 26.98 kB / 0.9584 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.5494, allocations: 86.52 kB / 0.9585 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.5494, allocations: 21.19 kB / 0.9585 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.5494, allocations: 15.33 kB / 0.9585 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.5495, allocations: 316.3 kB / 0.9588 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.5496, allocations: 50.2 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.5498, allocations: 48.86 kB / 0.9589 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.55, allocations: 105.9 kB / 0.959 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5501, allocations: 0 / 0.959 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003302/0.5504, allocations: 138.3 kB / 0.9591 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.5504, allocations: 5.375 kB / 0.9591 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5504, allocations: 1.375 kB / 0.9591 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.5504, allocations: 0 / 0.9591 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.5506, allocations: 19.11 kB / 0.9592 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.5506, allocations: 5.359 kB / 0.9592 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.941e-05/0.5507, allocations: 26.83 kB / 0.9592 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.5507, allocations: 1.375 kB / 0.9592 GB, free: 4.238 MB / 0.7169 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 4.969e-05/0.5507, allocations: 117.9 kB / 0.9593 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.5508, allocations: 2.75 kB / 0.9593 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003612/0.5511, allocations: 144.8 kB / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5511, allocations: 0 / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5511, allocations: 1.375 kB / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5511, allocations: 0 / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.5513, allocations: 191.3 kB / 0.9596 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5513, allocations: 1.312 kB / 0.9596 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/0.5514, allocations: 18.64 kB / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.5514, allocations: 1.094 kB / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.5514, allocations: 0 / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5514, allocations: 1.25 kB / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5514, allocations: 0 / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.5518, allocations: 236.6 kB / 0.9599 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.5518, allocations: 82.33 kB / 0.9599 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.5518, allocations: 1.031 kB / 0.9599 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.5519, allocations: 24.03 kB / 0.96 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.552, allocations: 5.25 kB / 0.96 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.552, allocations: 1.344 kB / 0.96 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.552, allocations: 103 kB / 0.9601 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.01e-07/0.552, allocations: 0 / 0.9601 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002241/0.5523, allocations: 21.11 kB / 0.9601 GB, free: 3.41 MB / 0.7169 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.0005185/0.5528, allocations: 0.7632 MB / 0.9608 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.5531, allocations: 101.7 kB / 0.9609 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5531, allocations: 0 / 0.9609 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.5533, allocations: 62.39 kB / 0.961 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.5535, allocations: 6.812 kB / 0.961 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.554, allocations: 202.2 kB / 0.9612 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.5541, allocations: 0.6839 MB / 0.9619 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.5541, allocations: 5.359 kB / 0.9619 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.5542, allocations: 16.81 kB / 0.9619 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.5542, allocations: 0 / 0.9619 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.5646, allocations: 1.539 MB / 0.9634 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.5648, allocations: 190.9 kB / 0.9636 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.1, allocations: 0 / 0.9636 GB, free: 0.7383 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches