Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.0009239/0.0009239, 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.0009737/0.0009737, 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 1.009/1.009, 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.479/2.479, allocations: 438.8 MB / 0.6826 GB, free: 13.62 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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.339e-05/3.672e-05, allocations: 8.281 kB / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001517/0.001553, allocations: 0.6755 MB / 0.8393 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008315/0.002385, allocations: 0.8547 MB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.002421, allocations: 4 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.00245, allocations: 3.938 kB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-05/0.002525, allocations: 7.938 kB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.002702, allocations: 7.984 kB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.844e-05/0.002771, allocations: 27.92 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.822e-05/0.002849, allocations: 4 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.002928, allocations: 15.92 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.367e-05/0.002962, allocations: 7.984 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.002978, allocations: 4 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.163e-05/0.00302, allocations: 11.92 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.003035, allocations: 8 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.00305, allocations: 3.938 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.768e-05/0.003137, allocations: 19.98 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003139, allocations: 0 / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00314, allocations: 0 / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.003145, allocations: 0 / 0.8403 GB, free: 12.5 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.0002879/0.003433, allocations: 233 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.003466, allocations: 8.625 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.003555, allocations: 8.938 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.003637, allocations: 113.7 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.003646, allocations: 4.375 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.003655, allocations: 384 / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.003759, allocations: 58.88 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.003767, allocations: 192 / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.003774, allocations: 384 / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.00378, allocations: 4.375 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.896e-05/0.003799, allocations: 3.938 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.004007, allocations: 148.3 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/0.004051, allocations: 22.62 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.321e-05/0.004064, allocations: 12.8 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.004077, allocations: 7.938 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.004098, allocations: 34.56 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.004099, allocations: 0 / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.965e-05/0.004198, allocations: 37.73 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.004229, allocations: 55.34 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.492e-05/0.004284, allocations: 102.7 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.004293, allocations: 25.7 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.004323, allocations: 88.11 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.00434, allocations: 7.953 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.004364, allocations: 9.719 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.004528, allocations: 323 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.004541, allocations: 3.938 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.004551, allocations: 4 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.437e-05/0.004575, allocations: 12.84 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.004577, allocations: 0 / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.347e-05/0.00462, allocations: 29.7 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.004631, allocations: 8 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.004638, allocations: 3.984 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.00465, allocations: 0 / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.004714, allocations: 12.03 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-06/0.004716, allocations: 0 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.004734, allocations: 12 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.004738, allocations: 3.938 kB / 0.8416 GB, free: 10.96 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.335e-05/0.004792, allocations: 105.8 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.004806, allocations: 7.984 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.109e-05/0.004877, allocations: 37 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.004878, allocations: 0 / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.004882, allocations: 7.938 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004884, allocations: 4.031 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.037e-05/0.004965, allocations: 65.89 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004966, allocations: 0 / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.004991, allocations: 11.98 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.004993, allocations: 0 / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.004997, allocations: 0 / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.004998, allocations: 0 / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005, allocations: 3.938 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.314e-05/0.005073, allocations: 139.4 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-06/0.005079, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-06/0.005086, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/0.005115, allocations: 8.031 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.005141, allocations: 3.984 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.005143, allocations: 0 / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.205e-05/0.005155, allocations: 12.8 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005155, allocations: 0 / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000116/0.005271, allocations: 8 kB / 0.842 GB, free: 10.5 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 0.000104/0.005375, allocations: 72.42 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.586e-05/0.005431, allocations: 20.78 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.005434, allocations: 4.062 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.005448, allocations: 8.859 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.005588, allocations: 4 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.005807, allocations: 112.6 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.964e-05/0.005837, allocations: 55.36 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.499e-05/0.005852, allocations: 0 / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.005892, allocations: 55.36 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.005892, allocations: 4.062 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of Templates: time 0.002037/0.007929, allocations: 472.8 kB / 0.8428 GB, free: 9.656 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.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.374884269200265]