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.001143/0.001143, allocations: 108 kB / 15.61 MB, free: 144 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.001226/0.001227, allocations: 194 kB / 16.53 MB, free: 6.66 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.25/2.25, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5894/0.5908, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002155/0.593, allocations: 1.47 MB / 0.9512 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002443/0.5933, allocations: 104 kB / 0.9513 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.5933, allocations: 0 / 0.9513 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.5934, allocations: 11.92 kB / 0.9513 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.984e-05/0.5934, allocations: 6.688 kB / 0.9513 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.5936, allocations: 28.02 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.614e-05/0.5937, allocations: 37.8 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.2e-05/0.5938, allocations: 13.48 kB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.5938, allocations: 13.44 kB / 0.9514 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.5939, allocations: 25.72 kB / 0.9514 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.5939, allocations: 8.438 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.617e-05/0.594, allocations: 15.02 kB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.594, allocations: 19.27 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.594, allocations: 16.16 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.5941, allocations: 62.67 kB / 0.9515 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5942, allocations: 1.469 kB / 0.9515 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5942, allocations: 3.938 kB / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.5942, allocations: 0 / 0.9515 GB, free: 7.805 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.0004039/0.5946, allocations: 384.1 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.5946, allocations: 10.56 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.197e-05/0.5946, allocations: 30.75 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.5947, allocations: 3.938 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.625e-05/0.5948, allocations: 180.2 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.5948, allocations: 1.969 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.5948, allocations: 5.844 kB / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.595, allocations: 71.5 kB / 0.9522 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.595, allocations: 11.92 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.5951, allocations: 1 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5951, allocations: 4.859 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.5953, allocations: 75.86 kB / 0.9523 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.5956, allocations: 285.2 kB / 0.9525 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.5958, allocations: 64.5 kB / 0.9526 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.596, allocations: 43.5 kB / 0.9526 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.5962, allocations: 114.8 kB / 0.9527 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.5962, allocations: 39.72 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5962, allocations: 3.938 kB / 0.9528 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005155/0.5967, allocations: 142.2 kB / 0.9529 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/0.5967, allocations: 57.12 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.5968, allocations: 131.8 kB / 0.9531 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.5968, allocations: 25.7 kB / 0.9531 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.716e-05/0.5969, allocations: 88.27 kB / 0.9532 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.5969, allocations: 9.312 kB / 0.9532 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.5969, allocations: 20.36 kB / 0.9532 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.597, allocations: 316.3 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.5971, allocations: 41.3 kB / 0.9536 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.5972, allocations: 33.66 kB / 0.9536 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.5975, allocations: 90.7 kB / 0.9537 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5975, allocations: 0 / 0.9537 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003042/0.5978, allocations: 111.3 kB / 0.9538 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.5979, allocations: 4.156 kB / 0.9538 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.5979, allocations: 0 / 0.9538 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5979, allocations: 0.8125 kB / 0.9538 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.598, allocations: 19.16 kB / 0.9538 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.598, allocations: 0 / 0.9538 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.5981, allocations: 23.02 kB / 0.9538 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.5981, allocations: 1.094 kB / 0.9538 GB, free: 5.625 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 4.635e-05/0.5982, allocations: 117.2 kB / 0.954 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.5982, allocations: 6.719 kB / 0.954 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/0.5985, allocations: 125.9 kB / 0.9541 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5985, allocations: 4 kB / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5985, allocations: 0.9375 kB / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.5986, allocations: 384 / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.5987, allocations: 180.7 kB / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5987, allocations: 0 / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.5988, allocations: 15.14 kB / 0.9543 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.5988, allocations: 0 / 0.9543 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.5988, allocations: 0 / 0.9543 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5988, allocations: 1.5 kB / 0.9543 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5988, allocations: 0 / 0.9543 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.5991, allocations: 225.1 kB / 0.9545 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.5992, allocations: 78.58 kB / 0.9546 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.5992, allocations: 5.453 kB / 0.9546 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.5993, allocations: 10.14 kB / 0.9546 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.5993, allocations: 6.594 kB / 0.9546 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.5993, allocations: 4 kB / 0.9546 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.5994, allocations: 100 kB / 0.9547 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5994, allocations: 0 / 0.9547 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002431/0.5996, allocations: 13.2 kB / 0.9547 GB, free: 4.805 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.0004845/0.6001, allocations: 0.752 MB / 0.9554 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003378/0.6005, allocations: 78.83 kB / 0.9555 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6005, allocations: 0 / 0.9555 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.6006, allocations: 44.58 kB / 0.9555 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.6009, allocations: 6.625 kB / 0.9556 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.6013, allocations: 186.2 kB / 0.9557 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.6014, allocations: 0.6987 MB / 0.9564 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.6015, allocations: 1.875 kB / 0.9564 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.6015, allocations: 13.59 kB / 0.9564 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6015, allocations: 0 / 0.9564 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.6288, allocations: 1.842 MB / 0.9582 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.438, allocations: 8.641 kB / 0.9582 GB, free: 2.117 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 & 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