Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001157/0.001157, allocations: 80.88 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.001608/0.001608, allocations: 181 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.9721/0.9721, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.494/2.494, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.826e-06/2.826e-06, allocations: 0 / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.611e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.004696/0.004722, allocations: 0.7127 MB / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000866/0.005588, allocations: 0.847 MB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.005623, allocations: 0 / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.005649, allocations: 3.938 kB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.005721, allocations: 15.88 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.516e-05/0.005776, allocations: 7.984 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.436e-05/0.00585, allocations: 43.84 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.544e-05/0.005926, allocations: 8 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.00601, allocations: 27.95 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.006049, allocations: 19.92 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.006068, allocations: 8 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-06/0.006074, allocations: 0 / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.00609, allocations: 11.98 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.006112, allocations: 11.94 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.364e-05/0.006185, allocations: 27.91 kB / 0.8404 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.006188, allocations: 0 / 0.8404 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.082e-06/0.006189, allocations: 0 / 0.8404 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.006192, allocations: 0 / 0.8404 GB, free: 12.4 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003/0.006492, allocations: 252.9 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.006526, allocations: 12.62 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.00655, allocations: 8.922 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.896e-05/0.006629, allocations: 113.7 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.00664, allocations: 4.375 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.006649, allocations: 4.312 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.006763, allocations: 66.94 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.006769, allocations: 192 / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.006776, allocations: 4.375 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.006781, allocations: 384 / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.173e-05/0.006802, allocations: 7.938 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.007013, allocations: 152.2 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.78e-05/0.007071, allocations: 38.48 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.007092, allocations: 16.78 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.007099, allocations: 0 / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.007122, allocations: 34.56 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.007123, allocations: 0 / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.001139/0.008262, allocations: 49.78 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.008291, allocations: 55.34 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.008353, allocations: 110.7 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.008363, allocations: 25.7 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.008401, allocations: 84.14 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.008418, allocations: 11.91 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.00845, allocations: 21.7 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.924e-05/0.008529, allocations: 314.8 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.008541, allocations: 4 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.14e-05/0.008553, allocations: 0 / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.00858, allocations: 16.84 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.008582, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.971e-05/0.008642, allocations: 41.62 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.008654, allocations: 8 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.008658, allocations: 0 / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.008669, allocations: 3.938 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.008741, allocations: 15.98 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.008743, allocations: 320 / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.008771, allocations: 4 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.008775, allocations: 0 / 0.8418 GB, free: 10.79 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 (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.43e-05/0.00883, allocations: 113.8 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.008851, allocations: 7.984 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.008868, allocations: 4 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.008871, allocations: 7.938 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.008873, allocations: 0 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.008875, allocations: 4 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.008985, allocations: 73.88 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.008985, allocations: 0 / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.009016, allocations: 8 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.009017, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.009022, allocations: 3.984 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.009024, allocations: 7.938 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.009024, allocations: 0 / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.245e-05/0.009107, allocations: 143.4 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.009116, allocations: 384 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.009126, allocations: 4 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.228e-05/0.009179, allocations: 11.98 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.009204, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.009211, allocations: 11.92 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.711e-05/0.009228, allocations: 24.81 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009228, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001789/0.009407, allocations: 11.89 kB / 0.8422 GB, free: 10.31 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 (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 8.847e-05/0.009496, allocations: 79.8 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.981e-05/0.009556, allocations: 20.78 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.009558, allocations: 0 / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.79e-05/0.009576, allocations: 12.86 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.009744, allocations: 8 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.009986, allocations: 128.5 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.765e-05/0.01002, allocations: 59.3 kB / 0.8425 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.01005, allocations: 0 / 0.8425 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.0101, allocations: 59.36 kB / 0.8425 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of SimCode: time 9.22e-07/0.01011, allocations: 0 / 0.8425 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of Templates: time 0.007427/0.01753, allocations: 0.6786 MB / 0.8432 GB, free: 9.219 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.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.318909540306777]