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.004743/0.004743, allocations: 107 kB / 15.74 MB, free: 6.441 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.001154/0.001154, allocations: 193.9 kB / 16.67 MB, free: 6.355 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.409/2.409, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.88 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2595, allocations: 140.4 MB / 1.087 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002711/0.2622, allocations: 1.474 MB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003293/0.2626, allocations: 104.6 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.2626, allocations: 0 / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.824e-05/0.2627, allocations: 3.938 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.311e-05/0.2628, allocations: 19.86 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.263, allocations: 23.97 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.2632, allocations: 43.84 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2633, allocations: 15.94 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.2633, allocations: 15.92 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.2634, allocations: 23.91 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2634, allocations: 7.938 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.28e-05/0.2635, allocations: 23.98 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.2635, allocations: 8 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.2636, allocations: 27.78 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.2637, allocations: 51.88 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2637, allocations: 0 / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2637, allocations: 0 / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2637, allocations: 0 / 1.089 GB, free: 96 kB / 0.8419 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.0005354/0.2643, allocations: 378.9 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2643, allocations: 16.03 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.2644, allocations: 34.69 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.2644, allocations: 8.844 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2645, allocations: 172.3 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2645, allocations: 8.375 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.2646, allocations: 384 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.2648, allocations: 78.16 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2649, allocations: 3.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2649, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2649, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.2652, allocations: 71.92 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.2656, allocations: 292.8 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.2658, allocations: 70.47 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.266, allocations: 44.91 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.2663, allocations: 109.1 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2663, allocations: 38.55 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 3.046e-06/0.2663, allocations: 3.984 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005814/0.2669, allocations: 145.5 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.2669, allocations: 51.41 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2671, allocations: 136.3 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.2671, allocations: 25.7 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.2671, allocations: 96.08 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.2672, allocations: 7.812 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.2672, allocations: 13.72 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.2673, allocations: 322.8 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.2675, allocations: 35.95 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.2676, allocations: 35.97 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.2679, allocations: 84.72 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2679, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003377/0.2683, allocations: 113.6 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2683, allocations: 7.938 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2683, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2683, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.2685, allocations: 15.92 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2685, allocations: 3.984 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.2686, allocations: 19.88 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.2686, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 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.733e-05/0.2687, allocations: 125.7 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.2687, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/0.2691, allocations: 117.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2691, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2691, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2691, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.2694, allocations: 185.6 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2694, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.2695, allocations: 23.92 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2695, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2695, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2695, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2695, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.2699, allocations: 215.3 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.2699, allocations: 84.95 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.27, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2701, allocations: 15.97 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.2701, allocations: 4.422 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.2701, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.705e-05/0.2702, allocations: 103.3 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2702, allocations: 0 / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002982/0.2705, allocations: 8 kB / 1.092 GB, free: 12.46 MB / 0.8575 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.0007128/0.2712, allocations: 0.7514 MB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.2716, allocations: 75.92 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2716, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.2718, allocations: 47.89 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.272, allocations: 11.91 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.2726, allocations: 187.2 kB / 1.093 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2729, allocations: 0.6846 MB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.266e-05/0.2729, allocations: 7.938 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.273, allocations: 15.44 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.273, allocations: 0 / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.2921, allocations: 1.871 MB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/7.52, allocations: 16.36 kB / 1.096 GB, free: 8.793 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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