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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00124/0.00124, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001291/0.001291, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.452/2.452, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.89 kB / 0.8688 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6743/0.6757, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002338/0.6781, allocations: 1.554 MB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002505/0.6783, allocations: 112.5 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.6784, allocations: 4 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.6784, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/0.6785, allocations: 3.938 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.6787, allocations: 19.97 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.6787, allocations: 51.78 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.783e-05/0.6788, allocations: 4 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.6789, allocations: 23.98 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.6789, allocations: 23.84 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.6789, allocations: 4 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.686e-05/0.679, allocations: 19.98 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.679, allocations: 8 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.6791, allocations: 23.86 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.6792, allocations: 59.8 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6792, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6792, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.6792, allocations: 0 / 1.019 GB, free: 0.7695 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.0004519/0.6797, allocations: 381.4 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.6797, allocations: 8.031 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.6798, allocations: 38.75 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.6798, allocations: 8.844 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.6799, allocations: 180.2 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.6799, allocations: 4.375 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.6799, allocations: 384 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.6802, allocations: 74.22 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.6802, allocations: 3.938 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.6802, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.6802, allocations: 4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.6805, allocations: 71.92 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.6808, allocations: 292.9 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.681, allocations: 70.41 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.6811, allocations: 48.91 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.6813, allocations: 105.1 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.6814, allocations: 34.55 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.6814, allocations: 4 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005012/0.6819, allocations: 153.4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.6819, allocations: 51.41 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.682, allocations: 133.8 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.682, allocations: 25.7 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.6821, allocations: 92.14 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.6821, allocations: 3.906 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.6821, allocations: 21.72 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.073e-05/0.6822, allocations: 318.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.6824, allocations: 43.95 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.6825, allocations: 31.97 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.6828, allocations: 84.72 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6828, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003027/0.6831, allocations: 117.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.6831, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.6831, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.6831, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.6833, allocations: 15.98 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.6833, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.6833, allocations: 19.91 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.6834, allocations: 0 / 1.021 GB, free: 14.12 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 6.769e-05/0.6834, allocations: 118.3 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.6835, allocations: 8.234 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.6838, allocations: 129.4 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.6838, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.6838, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.6838, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.684, allocations: 185.6 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.684, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.6841, allocations: 11.98 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.6841, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.6841, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6841, allocations: 7.938 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.6841, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.6844, allocations: 207.3 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.6845, allocations: 81.11 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.6845, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.6846, allocations: 19.97 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.6846, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.6847, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.6847, allocations: 107.1 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6847, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002132/0.6849, allocations: 8 kB / 1.022 GB, free: 13.14 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.0005741/0.6855, allocations: 0.7513 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.6858, allocations: 83.86 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6858, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.686, allocations: 39.95 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.6862, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.6866, allocations: 199.2 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.6869, allocations: 0.6846 MB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.865e-05/0.6869, allocations: 4 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.6869, allocations: 15.44 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6869, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.619/2.306, allocations: 1.663 MB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/2.306, allocations: 187.9 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/4.114, allocations: 3.938 kB / 1.026 GB, free: 9.453 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