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.001829/0.001829, allocations: 79.7 kB / 20.23 MB, free: 4.188 MB / 18.57 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.001981/0.001981, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.525/1.525, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.037/3.037, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.8108 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.761e-05, allocations: 6.281 kB / 0.8108 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002813/0.00284, allocations: 1.512 MB / 0.8123 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003167/0.003157, allocations: 105.2 kB / 0.8124 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.003187, allocations: 0 / 0.8124 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 6.145e-05/0.003248, allocations: 7.922 kB / 0.8124 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.003301, allocations: 9.719 kB / 0.8124 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.003487, allocations: 27.89 kB / 0.8124 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.542e-05/0.003572, allocations: 39.86 kB / 0.8125 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.091e-05/0.003653, allocations: 11.98 kB / 0.8125 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.003722, allocations: 19.98 kB / 0.8125 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.003769, allocations: 17.61 kB / 0.8125 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.003786, allocations: 4 kB / 0.8125 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.374e-05/0.00385, allocations: 15.98 kB / 0.8125 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.003898, allocations: 11.98 kB / 0.8125 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.003929, allocations: 21.25 kB / 0.8126 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.004072, allocations: 59.8 kB / 0.8126 GB, free: 116 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.004076, allocations: 4 kB / 0.8126 GB, free: 112 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004077, allocations: 0 / 0.8126 GB, free: 112 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.00408, allocations: 1.906 kB / 0.8126 GB, free: 112 kB / 0.7605 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.0005627/0.004643, allocations: 392.1 kB / 0.813 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.004678, allocations: 8.031 kB / 0.813 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.004726, allocations: 12.89 kB / 0.813 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.004865, allocations: 122.8 kB / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.004881, allocations: 4.375 kB / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/0.00489, allocations: 384 / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.005081, allocations: 58.23 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.005089, allocations: 192 / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.005097, allocations: 384 / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.005103, allocations: 5.078 kB / 0.8132 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.005287, allocations: 48.44 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.005701, allocations: 281.3 kB / 0.8135 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.005878, allocations: 55.03 kB / 0.8136 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.005979, allocations: 28.42 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.006153, allocations: 29.3 kB / 0.8136 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.006189, allocations: 38.55 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.00619, allocations: 0 / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004089/0.006599, allocations: 103.1 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.006646, allocations: 55.41 kB / 0.8138 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.006815, allocations: 192.8 kB / 0.814 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.006835, allocations: 26.86 kB / 0.814 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.006925, allocations: 142.8 kB / 0.8142 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.006943, allocations: 3.953 kB / 0.8142 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.006992, allocations: 27.89 kB / 0.8142 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002583/0.00725, allocations: 0.497 MB / 0.8147 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.222e-05/0.007342, allocations: 19.98 kB / 0.8147 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.563e-05/0.007428, allocations: 24.81 kB / 0.8147 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.007595, allocations: 45.34 kB / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007596, allocations: 0 / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002398/0.007836, allocations: 86.39 kB / 0.8148 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.007853, allocations: 11.94 kB / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.007857, allocations: 0 / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.00787, allocations: 2.219 kB / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.007964, allocations: 11.98 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.007968, allocations: 0 / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.00802, allocations: 8 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.008027, allocations: 0 / 0.8149 GB, free: 13.62 MB / 0.7761 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 0.0001126/0.00814, allocations: 158.7 kB / 0.815 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.008173, allocations: 11.94 kB / 0.815 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.008436, allocations: 93.53 kB / 0.8151 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.008437, allocations: 0 / 0.8151 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.00844, allocations: 0.5 kB / 0.8151 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.008446, allocations: 4.531 kB / 0.8151 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.008626, allocations: 128.6 kB / 0.8153 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.008629, allocations: 4.484 kB / 0.8153 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.008698, allocations: 9.344 kB / 0.8153 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.0087, allocations: 0 / 0.8153 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.00871, allocations: 4 kB / 0.8153 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.008713, allocations: 4.562 kB / 0.8153 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008714, allocations: 0 / 0.8153 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.00914, allocations: 229.1 kB / 0.8155 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-06/0.009148, allocations: 0 / 0.8155 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.009161, allocations: 3.469 kB / 0.8155 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.009241, allocations: 11.92 kB / 0.8155 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.009293, allocations: 15.92 kB / 0.8155 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.009298, allocations: 0 / 0.8155 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.307e-05/0.009391, allocations: 139.2 kB / 0.8157 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.009391, allocations: 0 / 0.8157 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002261/0.009617, allocations: 11.94 kB / 0.8157 GB, free: 12.74 MB / 0.7761 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.0001464/0.009763, allocations: 101.3 kB / 0.8158 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.01, allocations: 51.66 kB / 0.8158 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01, allocations: 4 kB / 0.8158 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01011, allocations: 35.98 kB / 0.8159 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.01034, allocations: 16.91 kB / 0.8159 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.0107, allocations: 159.1 kB / 0.816 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.016e-05/0.01078, allocations: 75.19 kB / 0.8161 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.0108, allocations: 1.188 kB / 0.8161 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.01083, allocations: 12.5 kB / 0.8161 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.01084, allocations: 1.125 kB / 0.8161 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of Templates: time 0.003775/0.01461, allocations: 0.8486 MB / 0.8169 GB, free: 11.4 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/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: 8.0799562119646]