Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001814/0.001814, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002063/0.002063, allocations: 192.2 kB / 22.17 MB, free: 5.652 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.633/1.633, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 59.91 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7684/0.7705, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001771/0.7722, allocations: 0.5736 MB / 1.275 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.484e-05/0.7723, allocations: 11.94 kB / 1.275 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.7723, allocations: 0 / 1.275 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.7723, allocations: 0 / 1.275 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.255e-05/0.7724, allocations: 0 / 1.275 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.503e-05/0.7724, allocations: 3.984 kB / 1.275 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.143e-05/0.7724, allocations: 0 / 1.275 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.041e-05/0.7725, allocations: 8 kB / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.218e-05/0.7725, allocations: 3.938 kB / 1.275 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.62e-05/0.7725, allocations: 0 / 1.275 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.7725, allocations: 7.922 kB / 1.275 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.397e-06/0.7725, allocations: 4 kB / 1.275 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.7726, allocations: 4 kB / 1.275 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.7726, allocations: 0 / 1.275 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.122e-05/0.7726, allocations: 4 kB / 1.275 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7726, allocations: 0 / 1.275 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7726, allocations: 0 / 1.275 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.7726, allocations: 3.938 kB / 1.275 GB, free: 3.887 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003428/0.773, allocations: 318.2 kB / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.773, allocations: 8.031 kB / 1.275 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.28e-05/0.773, allocations: 0.9375 kB / 1.275 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.7732, allocations: 168.3 kB / 1.275 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.7732, allocations: 8.375 kB / 1.275 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.7732, allocations: 384 / 1.275 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.7733, allocations: 30.25 kB / 1.275 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.7733, allocations: 192 / 1.275 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.7733, allocations: 3.938 kB / 1.275 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.7733, allocations: 0 / 1.275 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.6e-05/0.7733, allocations: 4 kB / 1.275 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.7737, allocations: 387.5 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.7739, allocations: 173 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.7739, allocations: 84.14 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.7739, allocations: 75.28 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/0.774, allocations: 109.8 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.774, allocations: 0 / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.978e-05/0.7741, allocations: 37.64 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.7742, allocations: 126.7 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.7742, allocations: 97.84 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.7743, allocations: 25.7 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.7743, allocations: 80.14 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.7743, allocations: 0 / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.7743, allocations: 13.84 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7744, allocations: 314.8 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-06/0.7744, allocations: 4 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-06/0.7745, allocations: 0 / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.557e-05/0.7745, allocations: 75.28 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.038e-05/0.7745, allocations: 75.28 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.373e-05/0.7746, allocations: 29.64 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.7746, allocations: 83.28 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/0.7746, allocations: 87.25 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.138e-05/0.7747, allocations: 154.5 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.7748, allocations: 79.22 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.07e-05/0.7748, allocations: 158.5 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.686e-05/0.7749, allocations: 83.22 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.7749, allocations: 79.22 kB / 1.278 GB, free: 0.7422 MB / 0.9669 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 (0): * Single equations (assignments): 0 * 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.0001323/0.7751, allocations: 270.4 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.7751, allocations: 101 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.7752, allocations: 113.6 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.618e-05/0.7752, allocations: 180.3 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-05/0.7753, allocations: 184.2 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.158e-05/0.7754, allocations: 180.3 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.7757, allocations: 401.2 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.235e-05/0.7758, allocations: 108.9 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.7758, allocations: 105 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-05/0.7759, allocations: 180.2 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/0.776, allocations: 184.2 kB / 1.279 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.929e-05/0.7761, allocations: 184.3 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-05/0.7761, allocations: 180.2 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.7763, allocations: 308.1 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.7764, allocations: 186 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.972e-05/0.7765, allocations: 180.3 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.7766, allocations: 113 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.7766, allocations: 180.3 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.7767, allocations: 108.9 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.7767, allocations: 79.28 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7767, allocations: 0 / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002485/0.777, allocations: 4.094 kB / 1.281 GB, free: 13.07 MB / 0.9825 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 (0): * Single equations (assignments): 0 * 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.0001565/0.7771, allocations: 170.5 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.839e-05/0.7772, allocations: 4 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7772, allocations: 0 / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.7772, allocations: 0 / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.7776, allocations: 463.6 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.7779, allocations: 172.1 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.7782, allocations: 0.669 MB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.854e-06/0.7782, allocations: 4 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.7782, allocations: 7.438 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.7782, allocations: 0 / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of Templates: time 0.002129/0.7803, allocations: 179 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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: 8.80550224892795]