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.001276/0.001276, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.429/2.429, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6071/0.6085, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002664/0.6112, allocations: 1.481 MB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002923/0.6115, allocations: 104.5 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.6116, allocations: 4 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.352e-05/0.6116, allocations: 7.922 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.401e-05/0.6117, allocations: 11.92 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.6119, allocations: 23.91 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.429e-05/0.612, allocations: 43.8 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.6121, allocations: 15.98 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.6122, allocations: 11.94 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.6122, allocations: 27.91 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.6122, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.534e-05/0.6123, allocations: 19.98 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.6124, allocations: 15.97 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.6124, allocations: 27.81 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.6125, allocations: 47.88 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6126, allocations: 0 / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.477e-06/0.6126, allocations: 3.984 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.6126, allocations: 0 / 1.019 GB, free: 0.6641 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.0005095/0.6131, allocations: 381.5 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.6131, allocations: 11.98 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.6132, allocations: 34.75 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.6132, allocations: 4.844 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.6134, allocations: 188.1 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.6134, allocations: 4.375 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.6134, allocations: 384 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.6137, allocations: 78.16 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.6137, allocations: 11.92 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.6137, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.6137, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.614, allocations: 71.92 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.6144, allocations: 292.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.6146, allocations: 62.53 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.6148, allocations: 44.91 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.615, allocations: 109.1 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.615, allocations: 38.56 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.615, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005393/0.6156, allocations: 145.4 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.6156, allocations: 55.41 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.6157, allocations: 132 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.6158, allocations: 25.7 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.6158, allocations: 88.14 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.6158, allocations: 11.89 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.6159, allocations: 13.72 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.616, allocations: 314.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.6161, allocations: 43.95 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.6163, allocations: 31.97 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.6165, allocations: 92.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6166, allocations: 3.938 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003231/0.6169, allocations: 113.5 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.6169, allocations: 4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6169, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.6169, allocations: 4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.617, allocations: 15.97 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.6171, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.377e-05/0.6172, allocations: 19.92 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.6172, allocations: 4 kB / 1.022 GB, free: 14.01 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 7.155e-05/0.6172, allocations: 113.8 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.6173, allocations: 7.906 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.6176, allocations: 125.4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.6177, allocations: 4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6177, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.6177, allocations: 3.938 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.6178, allocations: 181.6 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6179, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.141e-05/0.618, allocations: 15.98 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.618, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.618, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.618, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.618, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.6183, allocations: 215.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.6184, allocations: 81.14 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.6184, allocations: 7.984 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.6185, allocations: 11.98 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.6186, allocations: 7.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.6186, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.6186, allocations: 104.5 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.6186, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002195/0.6189, allocations: 8 kB / 1.022 GB, free: 13.03 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.0006181/0.6195, allocations: 0.7396 MB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000339/0.6198, allocations: 83.86 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6199, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.62, allocations: 43.95 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.6203, allocations: 8 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.6207, allocations: 183.2 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.621, allocations: 0.7001 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.104e-05/0.621, allocations: 4 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.6211, allocations: 11.44 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of SimCode: time 4.6e-07/0.6211, allocations: 0 / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.6385, allocations: 1.841 MB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.153/7.791, allocations: 13.44 kB / 1.026 GB, free: 9.379 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