Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001001/0.001001, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001054/0.001054, allocations: 177 kB / 23.36 MB, free: 1.133 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.9869/0.9869, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.539/2.539, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.464e-05, allocations: 4.703 kB / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001405/0.00143, allocations: 0.7265 MB / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008089/0.002239, allocations: 0.8664 MB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.002269, allocations: 4 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.002293, allocations: 3.938 kB / 0.8403 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.002359, allocations: 0 / 0.8403 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.002505, allocations: 15.97 kB / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.002563, allocations: 23.92 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.721e-05/0.00263, allocations: 4 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.0027, allocations: 15.92 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.997e-05/0.00273, allocations: 8 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.002742, allocations: 0 / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.375e-05/0.002796, allocations: 15.92 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.00281, allocations: 7.984 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.251e-05/0.002823, allocations: 4 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.083e-05/0.002904, allocations: 27.86 kB / 0.8404 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002906, allocations: 0 / 0.8404 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.082e-06/0.002907, allocations: 0 / 0.8404 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.00291, allocations: 0 / 0.8404 GB, free: 12.42 MB / 0.8073 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.0002368/0.003147, allocations: 236.9 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.003179, allocations: 12.62 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.108e-05/0.00326, allocations: 0.9375 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.06e-05/0.003341, allocations: 109.8 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.00335, allocations: 384 / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/0.003612, allocations: 8.375 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.742e-05/0.003709, allocations: 54.94 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.003716, allocations: 4.172 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.003722, allocations: 4.375 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.003727, allocations: 384 / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.05e-05/0.003748, allocations: 7.875 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.003926, allocations: 144.3 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.7e-05/0.003963, allocations: 26.56 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.116e-05/0.003974, allocations: 4.859 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.003987, allocations: 0 / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.004006, allocations: 38.62 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.004007, allocations: 0 / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.705e-05/0.004104, allocations: 41.67 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.004128, allocations: 55.34 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.717e-05/0.004176, allocations: 102.7 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.004183, allocations: 29.64 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.004209, allocations: 84.14 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.004225, allocations: 11.94 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.004246, allocations: 9.719 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.004313, allocations: 315 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-06/0.00432, allocations: 4 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.004331, allocations: 11.98 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/0.004353, allocations: 12.8 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004355, allocations: 0 / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.833e-05/0.004403, allocations: 41.69 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.004415, allocations: 4 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.004419, allocations: 0 / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.00443, allocations: 0 / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.004493, allocations: 7.938 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.004496, allocations: 4.094 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.004512, allocations: 7.938 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.004516, allocations: 0 / 0.8417 GB, free: 10.89 MB / 0.8073 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 5.085e-05/0.004567, allocations: 113.8 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.004581, allocations: 0 / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.911e-05/0.00465, allocations: 44.94 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.004652, allocations: 4 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/0.004661, allocations: 3.938 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.004664, allocations: 0 / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.862e-05/0.004743, allocations: 65.92 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.004744, allocations: 4 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.004768, allocations: 7.984 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.00477, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.004776, allocations: 4 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.004777, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004778, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.154e-05/0.004849, allocations: 139.4 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.004855, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-06/0.004863, allocations: 4 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.954e-05/0.004893, allocations: 32 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.00492, allocations: 7.984 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.004923, allocations: 4 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.052e-05/0.004934, allocations: 12.92 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004934, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001188/0.005053, allocations: 4 kB / 0.8421 GB, free: 10.43 MB / 0.8073 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.875e-05/0.005131, allocations: 76.56 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.516e-05/0.005187, allocations: 12.84 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.005189, allocations: 0 / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.005212, allocations: 20.86 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.005345, allocations: 4 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.005678, allocations: 116.6 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.081e-05/0.005709, allocations: 51.36 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.715e-05/0.005726, allocations: 4 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.005765, allocations: 51.38 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.005766, allocations: 4.062 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of Templates: time 0.001846/0.007612, allocations: 465.4 kB / 0.8429 GB, free: 9.582 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.255798561964184]