Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007519/0.0007519, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008127/0.0008127, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8886/0.8886, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.779/1.779, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.003e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001975/0.001995, allocations: 1.513 MB / 0.9824 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002442/0.002239, allocations: 103.6 kB / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.002267, allocations: 0 / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.002306, allocations: 3.938 kB / 0.9825 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.002359, allocations: 11.88 kB / 0.9825 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.002566, allocations: 23.97 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.077e-05/0.002647, allocations: 43.86 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.002739, allocations: 7.984 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.876e-05/0.002797, allocations: 27.91 kB / 0.9826 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.121e-05/0.002839, allocations: 19.97 kB / 0.9827 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.002855, allocations: 4 kB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.498e-05/0.00291, allocations: 19.92 kB / 0.9827 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.002954, allocations: 11.94 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.002974, allocations: 15.98 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003093, allocations: 59.78 kB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003095, allocations: 4 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003096, allocations: 0 / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.0031, allocations: 3.938 kB / 0.9828 GB, free: 0.6992 MB / 0.9323 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.0003887/0.003488, allocations: 294.2 kB / 0.9831 GB, free: 388 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.003528, allocations: 8.031 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.003561, allocations: 42.73 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.324e-05/0.003584, allocations: 8.891 kB / 0.9831 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.003667, allocations: 121.7 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.003676, allocations: 384 / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-06/0.003684, allocations: 4.375 kB / 0.9832 GB, free: 168 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.003849, allocations: 78.2 kB / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.003856, allocations: 192 / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-06/0.003863, allocations: 384 / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.003868, allocations: 4.125 kB / 0.9833 GB, free: 80 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.004029, allocations: 79.97 kB / 0.9834 GB, free: 16 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.004327, allocations: 255.9 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.004456, allocations: 66.53 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.004534, allocations: 40.91 kB / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.004696, allocations: 35.92 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.004714, allocations: 34.56 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.004715, allocations: 0 / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.000316/0.005031, allocations: 141.5 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.005064, allocations: 59.39 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.005144, allocations: 131.2 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.005155, allocations: 29.7 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.005195, allocations: 92.08 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.005214, allocations: 15.89 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.00524, allocations: 9.719 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.005322, allocations: 322.8 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.78e-05/0.0054, allocations: 31.97 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.005472, allocations: 44.12 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.005615, allocations: 84.72 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.005617, allocations: 4 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000172/0.005789, allocations: 113.5 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.005802, allocations: 6.969 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.005807, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.005817, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.005892, allocations: 15.98 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.005896, allocations: 0 / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.005932, allocations: 11.98 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.005939, allocations: 4 kB / 0.9849 GB, free: 14.35 MB / 0.948 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 5.454e-05/0.005994, allocations: 113.8 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.00601, allocations: 11.89 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.006214, allocations: 125.5 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.006217, allocations: 0 / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.006221, allocations: 0 / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.006225, allocations: 3.984 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.006336, allocations: 144.7 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.006338, allocations: 4 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.006383, allocations: 23.91 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006385, allocations: 7.828 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.006391, allocations: 0 / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.006392, allocations: 0 / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006393, allocations: 0 / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.006591, allocations: 211.4 kB / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.006598, allocations: 3.938 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.006609, allocations: 4 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.037e-05/0.006659, allocations: 15.92 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.006697, allocations: 11.98 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.0067, allocations: 0 / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.066e-05/0.00674, allocations: 98.89 kB / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00674, allocations: 0 / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001637/0.006904, allocations: 8 kB / 0.9856 GB, free: 13.51 MB / 0.948 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.0004125/0.007317, allocations: 0.7436 MB / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.007512, allocations: 84.12 kB / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.007513, allocations: 0 / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.007588, allocations: 35.97 kB / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.007774, allocations: 11.98 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.008141, allocations: 178.7 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.966e-05/0.008201, allocations: 79.27 kB / 0.9867 GB, free: 12.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.008222, allocations: 3.984 kB / 0.9867 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.008259, allocations: 20.48 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.00826, allocations: 0 / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.02563, allocations: 2.577 MB / 0.9893 GB, free: 9.832 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/6.882, allocations: 9.625 kB / 0.9893 GB, free: 9.828 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.063783580437303]