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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001189/0.001189, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001144/0.001144, allocations: 191 kB / 16.25 MB, free: 6.637 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.234/1.234, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.101/2.101, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.5357, allocations: 140.4 MB / 0.9492 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00306/0.5388, allocations: 1.556 MB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003382/0.5392, allocations: 98.58 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.5392, allocations: 1.375 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.922e-05/0.5393, allocations: 3.984 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.041e-05/0.5394, allocations: 10.69 kB / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.5396, allocations: 16.11 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.475e-05/0.5397, allocations: 41.73 kB / 0.9509 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.5399, allocations: 13.48 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.512e-05/0.5399, allocations: 17.42 kB / 0.9509 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.54, allocations: 26.78 kB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.54, allocations: 4.125 kB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.959e-05/0.5401, allocations: 18.98 kB / 0.951 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.5402, allocations: 18.67 kB / 0.951 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.5402, allocations: 23.98 kB / 0.951 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.5404, allocations: 50.94 kB / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5404, allocations: 1.375 kB / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5404, allocations: 0 / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.5404, allocations: 0 / 0.9511 GB, free: 7.562 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.0005406/0.5409, allocations: 380.9 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.541, allocations: 9.625 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.541, allocations: 36.12 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.5411, allocations: 3.688 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.5412, allocations: 188.2 kB / 0.9517 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.5412, allocations: 1.75 kB / 0.9517 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.5412, allocations: 5.688 kB / 0.9517 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.5415, allocations: 74.98 kB / 0.9517 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5415, allocations: 3.938 kB / 0.9518 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.5415, allocations: 1.562 kB / 0.9518 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5416, allocations: 4 kB / 0.9518 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.5418, allocations: 70.95 kB / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.5422, allocations: 290.1 kB / 0.9521 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.5425, allocations: 72.14 kB / 0.9522 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.5426, allocations: 43.83 kB / 0.9522 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.5429, allocations: 106.9 kB / 0.9523 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.5429, allocations: 35.91 kB / 0.9523 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.5429, allocations: 0 / 0.9523 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005734/0.5435, allocations: 150.7 kB / 0.9525 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.5435, allocations: 51.41 kB / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.5437, allocations: 129.2 kB / 0.9527 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.5437, allocations: 27.02 kB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.5437, allocations: 98.62 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.5438, allocations: 5.125 kB / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.5438, allocations: 16.31 kB / 0.9528 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.5439, allocations: 321.4 kB / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.544, allocations: 32.41 kB / 0.9531 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.5442, allocations: 45.92 kB / 0.9532 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.5444, allocations: 78.72 kB / 0.9533 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5444, allocations: 0.9062 kB / 0.9533 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003078/0.5447, allocations: 117.4 kB / 0.9534 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5448, allocations: 9.266 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5448, allocations: 1.062 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.5448, allocations: 0 / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.5449, allocations: 15.14 kB / 0.9534 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.545, allocations: 0 / 0.9534 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.545, allocations: 14.67 kB / 0.9534 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.545, allocations: 5.438 kB / 0.9534 GB, free: 5.379 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 6.385e-05/0.5451, allocations: 122.1 kB / 0.9535 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.5451, allocations: 6.562 kB / 0.9535 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.5455, allocations: 121.3 kB / 0.9537 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5455, allocations: 0 / 0.9537 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5455, allocations: 1.438 kB / 0.9537 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.5455, allocations: 4 kB / 0.9537 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.5457, allocations: 183.5 kB / 0.9538 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5457, allocations: 1.312 kB / 0.9538 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.5458, allocations: 17.94 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5458, allocations: 0 / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5458, allocations: 5.094 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.5458, allocations: 0 / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5458, allocations: 1.531 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.5461, allocations: 212.2 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.5462, allocations: 80.28 kB / 0.9541 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.5462, allocations: 3.984 kB / 0.9541 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.5463, allocations: 14.02 kB / 0.9542 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.5463, allocations: 7.078 kB / 0.9542 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.5464, allocations: 8 kB / 0.9542 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.5464, allocations: 99.92 kB / 0.9543 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5464, allocations: 3.938 kB / 0.9543 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002263/0.5467, allocations: 9.5 kB / 0.9543 GB, free: 4.555 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.0005068/0.5472, allocations: 0.7483 MB / 0.955 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003302/0.5475, allocations: 82.19 kB / 0.9551 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5475, allocations: 0 / 0.9551 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.5477, allocations: 45.09 kB / 0.9551 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.5479, allocations: 10.06 kB / 0.9551 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.5483, allocations: 195.3 kB / 0.9553 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.5485, allocations: 0.6903 MB / 0.956 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.5485, allocations: 6.562 kB / 0.956 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.5485, allocations: 21.05 kB / 0.956 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5485, allocations: 0 / 0.956 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.5635, allocations: 1.657 MB / 0.9576 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.5637, allocations: 195.7 kB / 0.9578 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.149, allocations: 2.875 kB / 0.9578 GB, free: 1.77 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