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.001104/0.001104, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001173/0.001173, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.499/2.499, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 71.89 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6427/0.644, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00292/0.647, allocations: 1.55 MB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003252/0.6473, allocations: 100.6 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.6474, allocations: 7.938 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.514e-05/0.6475, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.754e-05/0.6475, allocations: 7.922 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.6477, allocations: 15.98 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.468e-05/0.6478, allocations: 47.84 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.6479, allocations: 12 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.6479, allocations: 15.92 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.648, allocations: 19.92 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.648, allocations: 0 / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.381e-05/0.6481, allocations: 19.98 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.6481, allocations: 11.92 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.6482, allocations: 31.84 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.6483, allocations: 39.88 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6483, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.494e-06/0.6483, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6483, allocations: 7.938 kB / 1.019 GB, free: 0.8906 MB / 0.7637 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.0005039/0.6488, allocations: 381.5 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.6489, allocations: 8.031 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.6489, allocations: 30.75 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.649, allocations: 12.78 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.6491, allocations: 180.2 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.6491, allocations: 4.375 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.6491, allocations: 4.375 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.6494, allocations: 78.2 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.6494, allocations: 7.875 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.6494, allocations: 0 / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.6494, allocations: 4 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.6497, allocations: 71.92 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.6501, allocations: 296.8 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.6503, allocations: 66.53 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.6504, allocations: 36.92 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.6507, allocations: 117.1 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.6508, allocations: 30.56 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.6508, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005583/0.6513, allocations: 157.4 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.6514, allocations: 55.39 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.6515, allocations: 123 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.6515, allocations: 25.7 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.6516, allocations: 92.12 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.6516, allocations: 11.81 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.6516, allocations: 17.72 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6517, allocations: 322.8 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.6519, allocations: 31.97 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.652, allocations: 39.95 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.6523, allocations: 84.72 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6523, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000309/0.6526, allocations: 109.5 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.6526, allocations: 8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6527, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.6527, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.6528, allocations: 27.92 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.6528, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.6529, allocations: 11.92 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.6529, allocations: 4 kB / 1.021 GB, free: 14.24 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 8.331e-05/0.653, allocations: 122.3 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.653, allocations: 3.906 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.6534, allocations: 121.8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6534, allocations: 4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6534, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6534, allocations: 8.016 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.6536, allocations: 173.6 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6536, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.119e-05/0.6537, allocations: 19.97 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.6537, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.6537, allocations: 8 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.6537, allocations: 4 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6537, allocations: 3.938 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.6541, allocations: 211.2 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.6541, allocations: 81.02 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.6542, allocations: 12 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.6543, allocations: 7.984 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.6543, allocations: 7.984 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.6543, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.398e-05/0.6544, allocations: 100.4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6544, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002204/0.6546, allocations: 12 kB / 1.022 GB, free: 13.25 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.0006023/0.6552, allocations: 0.7358 MB / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.6555, allocations: 87.84 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6556, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.6557, allocations: 43.95 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.656, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.6564, allocations: 196.8 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.6566, allocations: 0.6888 MB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.08e-05/0.6567, allocations: 3.984 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.6567, allocations: 15.44 kB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6567, allocations: 0 / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.6677, allocations: 1.621 MB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.6679, allocations: 194 kB / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.266, allocations: 0 / 1.025 GB, free: 9.602 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