Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.0009639/0.0009639, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.00165/0.00165, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.066/1.066, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.825/1.825, allocations: 359 MB / 0.6063 GB, free: 10.89 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.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.979e-05, allocations: 9.203 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00145/0.00147, allocations: 0.6851 MB / 0.7891 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003942/0.005412, allocations: 0.8691 MB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.005452, allocations: 4 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.00548, allocations: 0 / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-05/0.005548, allocations: 7.922 kB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.005706, allocations: 8 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.619e-05/0.005773, allocations: 23.92 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.005854, allocations: 5.062 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.05e-05/0.005924, allocations: 19.92 kB / 0.79 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/0.005958, allocations: 8.938 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.005971, allocations: 4 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.114e-05/0.006012, allocations: 7.938 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.006028, allocations: 5.406 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.411e-05/0.006042, allocations: 4 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.006144, allocations: 27.84 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.006146, allocations: 0 / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.006146, allocations: 1.062 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.006151, allocations: 0 / 0.79 GB, free: 10.47 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003064/0.006457, allocations: 358.2 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.006492, allocations: 12.03 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/0.006576, allocations: 8.891 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.666e-05/0.006652, allocations: 108.6 kB / 0.7905 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.006662, allocations: 2 kB / 0.7905 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.006669, allocations: 4.375 kB / 0.7905 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.176e-05/0.006761, allocations: 50.94 kB / 0.7905 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.006768, allocations: 192 / 0.7905 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.006775, allocations: 5.25 kB / 0.7905 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.00678, allocations: 384 / 0.7905 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.006804, allocations: 11.86 kB / 0.7906 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.007009, allocations: 225.1 kB / 0.7908 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.234e-05/0.007062, allocations: 40.45 kB / 0.7908 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.007076, allocations: 11.75 kB / 0.7908 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.007088, allocations: 0 / 0.7908 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.007108, allocations: 35.36 kB / 0.7909 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.007109, allocations: 0 / 0.7909 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000117/0.007226, allocations: 45.53 kB / 0.7909 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.007254, allocations: 59.39 kB / 0.791 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.007319, allocations: 153.9 kB / 0.7911 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.007331, allocations: 31.95 kB / 0.7911 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.007371, allocations: 126.9 kB / 0.7913 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.007388, allocations: 11.88 kB / 0.7913 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.007417, allocations: 23.36 kB / 0.7913 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.007528, allocations: 492.1 kB / 0.7918 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-06/0.007538, allocations: 4 kB / 0.7918 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.007546, allocations: 0.5625 kB / 0.7918 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.007575, allocations: 20.34 kB / 0.7918 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.007577, allocations: 0.5312 kB / 0.7918 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.273e-05/0.007629, allocations: 39.34 kB / 0.7918 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.007642, allocations: 8 kB / 0.7918 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007647, allocations: 0 / 0.7918 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.007656, allocations: 3.938 kB / 0.7918 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.007707, allocations: 8.656 kB / 0.7918 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.007709, allocations: 0 / 0.7918 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.007731, allocations: 9.188 kB / 0.7918 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.007735, allocations: 3.984 kB / 0.7919 GB, free: 8.41 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 (2): * Single equations (assignments): 2 * 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 6.035e-05/0.007796, allocations: 153.7 kB / 0.792 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.007815, allocations: 4 kB / 0.792 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.007884, allocations: 44.94 kB / 0.792 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007886, allocations: 5.312 kB / 0.7921 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.007887, allocations: 4 kB / 0.7921 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.00789, allocations: 0 / 0.7921 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.011, allocations: 101.2 kB / 0.7922 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01101, allocations: 1.75 kB / 0.7922 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.01103, allocations: 7.984 kB / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01104, allocations: 0 / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-06/0.01104, allocations: 0 / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01104, allocations: 0.875 kB / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01104, allocations: 0 / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.686e-05/0.01114, allocations: 201.4 kB / 0.7924 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-06/0.01115, allocations: 0 / 0.7924 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.01115, allocations: 0 / 0.7924 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.638e-05/0.0112, allocations: 4 kB / 0.7924 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.01123, allocations: 5.078 kB / 0.7924 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.01123, allocations: 3.938 kB / 0.7924 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.01127, allocations: 127.2 kB / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01127, allocations: 3.25 kB / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001993/0.01147, allocations: 7.938 kB / 0.7925 GB, free: 7.695 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 (2): * Single equations (assignments): 2 * 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 7.627e-05/0.01154, allocations: 95.25 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.394e-05/0.01161, allocations: 15.67 kB / 0.7926 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.11e-07/0.01161, allocations: 0 / 0.7926 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.01163, allocations: 15.62 kB / 0.7926 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01185, allocations: 6.438 kB / 0.7926 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.0122, allocations: 118.3 kB / 0.7927 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.572e-05/0.01224, allocations: 63.28 kB / 0.7928 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.534e-05/0.01225, allocations: 2.406 kB / 0.7928 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.01229, allocations: 70.2 kB / 0.7929 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01229, allocations: 0 / 0.7929 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of Templates: time 0.005031/0.01733, allocations: 0.5165 MB / 0.7934 GB, free: 6.762 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.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: 5.126236862037331]