Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001008/0.001008, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009055/0.0009055, allocations: 161 kB / 23.82 MB, free: 0.75 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.9098/0.9098, allocations: 177.1 MB / 204.2 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.708/1.708, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 224 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.195e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002564/0.002586, allocations: 1.54 MB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003432/0.002929, allocations: 103.7 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.002967, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.942e-05/0.003026, allocations: 8.828 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.091e-05/0.003097, allocations: 8.438 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.003336, allocations: 25.2 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.003438, allocations: 43.86 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.003538, allocations: 11.92 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/0.003607, allocations: 19.98 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.003657, allocations: 17.55 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.003678, allocations: 4 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.281e-05/0.003751, allocations: 19.98 kB / 0.7889 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.003803, allocations: 15.92 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.003831, allocations: 17.19 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.003983, allocations: 43.83 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.003986, allocations: 0 / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.51e-07/0.003987, allocations: 0.6875 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.003992, allocations: 4 kB / 0.7889 GB, free: 10.63 MB / 0.7448 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.0004704/0.004463, allocations: 389.3 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.004509, allocations: 12.03 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.004559, allocations: 9.547 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.004667, allocations: 130.1 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.00468, allocations: 384 / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.004692, allocations: 4.375 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.004876, allocations: 66.88 kB / 0.7895 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.004885, allocations: 1.094 kB / 0.7895 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.004896, allocations: 384 / 0.7895 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.004904, allocations: 384 / 0.7895 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.801e-05/0.004952, allocations: 15.28 kB / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.005327, allocations: 271.8 kB / 0.7898 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.836e-05/0.005425, allocations: 35 kB / 0.7898 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.005461, allocations: 15.77 kB / 0.7898 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.005634, allocations: 28.7 kB / 0.7899 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.005662, allocations: 41.39 kB / 0.7899 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.005664, allocations: 1.656 kB / 0.7899 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000203/0.005867, allocations: 49.62 kB / 0.79 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.005902, allocations: 51.41 kB / 0.79 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.006047, allocations: 187.2 kB / 0.7902 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.006065, allocations: 33.64 kB / 0.7902 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.006149, allocations: 144.3 kB / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.006207, allocations: 7.953 kB / 0.7904 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.00627, allocations: 19.38 kB / 0.7904 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.006446, allocations: 0.4962 MB / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.041e-05/0.006487, allocations: 5.344 kB / 0.7909 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.006511, allocations: 0 / 0.7909 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.924e-05/0.006571, allocations: 15.97 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.006574, allocations: 1.594 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00012/0.006694, allocations: 53.62 kB / 0.7909 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.006716, allocations: 9.812 kB / 0.7909 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.006722, allocations: 0 / 0.7909 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.00674, allocations: 7.938 kB / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.006873, allocations: 12.98 kB / 0.791 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.006879, allocations: 0 / 0.791 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.006902, allocations: 4.531 kB / 0.791 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.006908, allocations: 0.5312 kB / 0.791 GB, free: 8.348 MB / 0.7448 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.957e-05/0.006968, allocations: 157.6 kB / 0.7911 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.006984, allocations: 11.94 kB / 0.7911 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.304e-05/0.007077, allocations: 53.62 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.007079, allocations: 0.6562 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.007082, allocations: 0.5312 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.007085, allocations: 0 / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.007187, allocations: 137.9 kB / 0.7913 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.007187, allocations: 0 / 0.7913 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.007217, allocations: 11.94 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007219, allocations: 1.156 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.007225, allocations: 0 / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.007228, allocations: 7.922 kB / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007229, allocations: 0.9375 kB / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.626e-05/0.007325, allocations: 195.9 kB / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.007331, allocations: 0 / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.007341, allocations: 4.812 kB / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.72e-05/0.007378, allocations: 11.94 kB / 0.7915 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.007414, allocations: 4.922 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.007419, allocations: 4 kB / 0.7915 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.007466, allocations: 145 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007467, allocations: 0 / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001466/0.007613, allocations: 11.95 kB / 0.7917 GB, free: 7.539 MB / 0.7448 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.0001003/0.007713, allocations: 103.5 kB / 0.7918 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.922e-05/0.007803, allocations: 23.67 kB / 0.7918 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007804, allocations: 2.312 kB / 0.7918 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.132e-05/0.007826, allocations: 15.69 kB / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.007999, allocations: 15.92 kB / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.008263, allocations: 157.4 kB / 0.792 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.293e-05/0.008296, allocations: 55.36 kB / 0.7921 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.008315, allocations: 7.922 kB / 0.7921 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.00834, allocations: 12.5 kB / 0.7921 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/0.008341, allocations: 0 / 0.7921 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of Templates: time 0.002426/0.01077, allocations: 0.9038 MB / 0.793 GB, free: 6.227 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.70700754923746]