Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 188.3 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.153/3.153, allocations: 496 MB / 0.7835 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 62.25 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3872, allocations: 173.6 MB / 1.307 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003043/0.3902, allocations: 1.513 MB / 1.309 GB, free: 320 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003663/0.3906, allocations: 115.6 kB / 1.309 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.3906, allocations: 4 kB / 1.309 GB, free: 200 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.95e-05/0.3907, allocations: 3.938 kB / 1.309 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.3908, allocations: 11.92 kB / 1.309 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.391, allocations: 19.98 kB / 1.309 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.3911, allocations: 43.84 kB / 1.309 GB, free: 120 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3912, allocations: 4 kB / 1.309 GB, free: 116 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.3913, allocations: 19.92 kB / 1.309 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.3913, allocations: 27.89 kB / 1.309 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.3913, allocations: 8 kB / 1.309 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.3914, allocations: 19.98 kB / 1.309 GB, free: 40 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.3915, allocations: 15.94 kB / 1.309 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.3915, allocations: 19.86 kB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.3917, allocations: 59.86 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3917, allocations: 0 / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3917, allocations: 0 / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3917, allocations: 0 / 1.309 GB, free: 15.94 MB / 1.014 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.0006063/0.3923, allocations: 306.1 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3924, allocations: 12.86 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.3924, allocations: 8.891 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3925, allocations: 114.4 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3925, allocations: 4.375 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.3925, allocations: 4.375 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.3928, allocations: 74.2 kB / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3928, allocations: 4.188 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3929, allocations: 3.938 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3929, allocations: 4 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.3932, allocations: 71.92 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.3936, allocations: 259.9 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.3938, allocations: 70.47 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.394, allocations: 40.92 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.3942, allocations: 27.97 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3943, allocations: 46.5 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3943, allocations: 0 / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0006232/0.3949, allocations: 153.4 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.3949, allocations: 51.41 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3951, allocations: 121.8 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3951, allocations: 29.7 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.3952, allocations: 100.1 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.3952, allocations: 7.891 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.3952, allocations: 17.72 kB / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3954, allocations: 314.8 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.3955, allocations: 35.97 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.3957, allocations: 43.95 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.396, allocations: 73.06 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.396, allocations: 7.938 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003717/0.3964, allocations: 121.5 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3964, allocations: 4 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3964, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3964, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.3965, allocations: 15.98 kB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3965, allocations: 0 / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.727e-05/0.3966, allocations: 15.98 kB / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3966, allocations: 3.984 kB / 1.311 GB, free: 13.63 MB / 1.014 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.0001031/0.3967, allocations: 122.5 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.3968, allocations: 7.953 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.3972, allocations: 121.5 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3972, allocations: 3.984 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3972, allocations: 0 / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3972, allocations: 0 / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.3974, allocations: 152.7 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3974, allocations: 3.984 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3975, allocations: 11.98 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.3975, allocations: 4 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3975, allocations: 0 / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3975, allocations: 0 / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3975, allocations: 0 / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.3979, allocations: 215.3 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.3979, allocations: 4 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.3979, allocations: 0 / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3981, allocations: 19.92 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.3981, allocations: 3.984 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3981, allocations: 0 / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.85e-05/0.3982, allocations: 110.5 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3982, allocations: 3.938 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00023/0.3984, allocations: 8 kB / 1.312 GB, free: 12.77 MB / 1.014 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.0001657/0.3986, allocations: 103.2 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003931/0.399, allocations: 79.8 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.399, allocations: 4 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.3992, allocations: 47.89 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.3994, allocations: 7.875 kB / 1.312 GB, free: 12.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.3998, allocations: 149.5 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.4001, allocations: 0.6924 MB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.141e-05/0.4001, allocations: 4 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.4002, allocations: 15.44 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.4002, allocations: 0 / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of Templates: time 0.003797/0.404, allocations: 0.8065 MB / 1.314 GB, free: 10.82 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.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: 9.047185477800667]