Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 110.3 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 185.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.799/2.799, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.044, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002767/1.047, allocations: 1.177 MB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003332/1.051, allocations: 2.172 MB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/1.051, allocations: 0 / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.981e-05/1.051, allocations: 27.67 kB / 1.171 GB, free: 456 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002322/1.051, allocations: 95.27 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003768/1.055, allocations: 1.4 MB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002034/1.057, allocations: 1.295 MB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/1.057, allocations: 20.75 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008472/1.058, allocations: 487.2 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006366/1.059, allocations: 426.9 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002042/1.059, allocations: 108 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/1.059, allocations: 123.9 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.968e-05/1.059, allocations: 63.75 kB / 1.175 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004838/1.06, allocations: 391 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/1.061, allocations: 0.9588 MB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.061, allocations: 4 kB / 1.176 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/1.061, allocations: 0 / 1.176 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.829e-06/1.061, allocations: 3.938 kB / 1.176 GB, free: 11.15 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001668/1.062, allocations: 1.179 MB / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.063, allocations: 8.922 kB / 1.177 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/1.063, allocations: 68.73 kB / 1.177 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/1.063, allocations: 232.5 kB / 1.177 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/1.063, allocations: 36.36 kB / 1.177 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/1.063, allocations: 64.36 kB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/1.064, allocations: 209.2 kB / 1.178 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/1.064, allocations: 8.125 kB / 1.178 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/1.064, allocations: 11.94 kB / 1.178 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.026e-06/1.064, allocations: 0 / 1.178 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/1.064, allocations: 71.77 kB / 1.178 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/1.065, allocations: 0.8445 MB / 1.179 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/1.065, allocations: 331.2 kB / 1.179 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/1.065, allocations: 136.8 kB / 1.179 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/1.065, allocations: 8 kB / 1.179 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007769/1.066, allocations: 470.7 kB / 1.179 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 1.904e-06/1.066, allocations: 11.94 kB / 1.179 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.001176/1.067, allocations: 0.5571 MB / 1.18 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002745/1.068, allocations: 435.2 kB / 1.18 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/1.068, allocations: 296.4 kB / 1.181 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000159/1.068, allocations: 65.7 kB / 1.181 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/1.068, allocations: 161.4 kB / 1.181 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/1.069, allocations: 103.3 kB / 1.181 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005367/1.069, allocations: 278.1 kB / 1.181 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.069, allocations: 346.8 kB / 1.182 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009658/1.07, allocations: 425.3 kB / 1.182 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/1.071, allocations: 0.7067 MB / 1.183 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/1.073, allocations: 1.2 MB / 1.184 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/1.073, allocations: 0 / 1.184 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003265/1.077, allocations: 1.716 MB / 1.186 GB, free: 64 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.000408/1.077, allocations: 489.4 kB / 1.186 GB, free: 15.49 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/1.077, allocations: 9.188 kB / 1.186 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.8e-05/1.077, allocations: 12 kB / 1.186 GB, free: 15.47 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/1.077, allocations: 31.8 kB / 1.186 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/1.077, allocations: 23.94 kB / 1.186 GB, free: 15.42 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/1.08, allocations: 407.1 kB / 1.186 GB, free: 15.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/1.08, allocations: 95.92 kB / 1.187 GB, free: 14.93 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003827/1.08, allocations: 217.6 kB / 1.187 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/1.08, allocations: 47.7 kB / 1.187 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.161e-05/1.08, allocations: 38.14 kB / 1.187 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/1.08, allocations: 11.98 kB / 1.187 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.08, allocations: 7.938 kB / 1.187 GB, free: 14.6 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.08, allocations: 4 kB / 1.187 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/1.081, allocations: 325.4 kB / 1.187 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/1.081, allocations: 4 kB / 1.187 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/1.081, allocations: 23.92 kB / 1.187 GB, free: 14.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/1.081, allocations: 11.94 kB / 1.187 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/1.081, allocations: 15.98 kB / 1.187 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/1.081, allocations: 15.92 kB / 1.187 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.081, allocations: 4 kB / 1.187 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008334/1.082, allocations: 0.5275 MB / 1.188 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/1.082, allocations: 116.8 kB / 1.188 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/1.082, allocations: 19.98 kB / 1.188 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/1.082, allocations: 11.98 kB / 1.188 GB, free: 13.4 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/1.082, allocations: 63.81 kB / 1.188 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/1.082, allocations: 31.98 kB / 1.188 GB, free: 13.31 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001995/1.082, allocations: 191.1 kB / 1.188 GB, free: 13.12 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.082, allocations: 0 / 1.188 GB, free: 13.12 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007684/1.083, allocations: 200 kB / 1.188 GB, free: 12.93 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.000247/1.083, allocations: 135 kB / 1.188 GB, free: 12.79 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002802/1.086, allocations: 1.749 MB / 1.19 GB, free: 10.86 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/1.086, allocations: 2 kB / 1.19 GB, free: 10.86 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004003/1.087, allocations: 183.7 kB / 1.19 GB, free: 10.68 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00089/1.088, allocations: 130.2 kB / 1.19 GB, free: 10.55 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/1.089, allocations: 0.6464 MB / 1.191 GB, free: 9.836 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/1.09, allocations: 0.78 MB / 1.192 GB, free: 9.027 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001591/1.09, allocations: 38.98 kB / 1.192 GB, free: 8.988 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/1.09, allocations: 31.42 kB / 1.192 GB, free: 8.957 MB / 0.92 GB Notification: Performance of SimCode: time 1.302e-06/1.09, allocations: 4 kB / 1.192 GB, free: 8.953 MB / 0.92 GB Notification: Performance of Templates: time 0.02473/1.115, allocations: 11.99 MB / 1.204 GB, free: 13.12 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches