Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 108.8 kB / 16.37 MB, free: 6.465 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.002271/0.002271, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002023, allocations: 71.86 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3764, allocations: 140.4 MB / 0.9512 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002344/0.3788, allocations: 0.9611 MB / 0.9521 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.3808, allocations: 1.44 MB / 0.9535 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.173e-05/0.3809, allocations: 4 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.104e-05/0.381, allocations: 11.81 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.3812, allocations: 51.5 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3822, allocations: 436.9 kB / 0.954 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005773/0.3828, allocations: 0.5185 MB / 0.9545 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.383, allocations: 49.66 kB / 0.9545 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.3832, allocations: 183.6 kB / 0.9547 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.3834, allocations: 159.4 kB / 0.9549 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.764e-05/0.3835, allocations: 48 kB / 0.9549 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.3836, allocations: 63.98 kB / 0.955 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.3837, allocations: 43.78 kB / 0.955 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.3839, allocations: 167.5 kB / 0.9552 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.3844, allocations: 0.4908 MB / 0.9556 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3844, allocations: 3.938 kB / 0.9556 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3844, allocations: 0 / 0.9556 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3844, allocations: 0 / 0.9556 GB, free: 3.391 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008352/0.3852, allocations: 0.6301 MB / 0.9563 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3853, allocations: 8.031 kB / 0.9563 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.357e-05/0.3854, allocations: 32.66 kB / 0.9563 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.3856, allocations: 226.9 kB / 0.9565 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.3856, allocations: 16.38 kB / 0.9565 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.3857, allocations: 20.31 kB / 0.9566 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.3859, allocations: 127.6 kB / 0.9567 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3859, allocations: 0 / 0.9567 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.386, allocations: 4 kB / 0.9567 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.386, allocations: 0 / 0.9567 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3861, allocations: 59.91 kB / 0.9567 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009938/0.3871, allocations: 0.8756 MB / 0.9576 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3873, allocations: 118.4 kB / 0.9577 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/0.3873, allocations: 59.42 kB / 0.9578 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.3874, allocations: 0 / 0.9578 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.3877, allocations: 170.7 kB / 0.9579 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.3877, allocations: 0 / 0.9579 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0004651/0.3881, allocations: 237.8 kB / 0.9582 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.3882, allocations: 136.5 kB / 0.9583 GB, free: 408 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.3885, allocations: 236.9 kB / 0.9585 GB, free: 160 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.3885, allocations: 37.7 kB / 0.9585 GB, free: 116 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.3887, allocations: 140.4 kB / 0.9587 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3887, allocations: 27.62 kB / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.3889, allocations: 97.59 kB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.389, allocations: 326.8 kB / 0.9591 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.3893, allocations: 152.1 kB / 0.9593 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.3897, allocations: 226.6 kB / 0.9595 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.3901, allocations: 364.9 kB / 0.9598 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3901, allocations: 4 kB / 0.9598 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009309/0.391, allocations: 0.5546 MB / 0.9604 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.639e-05/0.3911, allocations: 136.8 kB / 0.9605 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3912, allocations: 7.938 kB / 0.9605 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3912, allocations: 4 kB / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.3913, allocations: 15.92 kB / 0.9605 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.3913, allocations: 15.92 kB / 0.9605 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/0.3919, allocations: 111.8 kB / 0.9606 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/0.392, allocations: 31.97 kB / 0.9607 GB, free: 13.76 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001732/0.3922, allocations: 147.7 kB / 0.9608 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.3922, allocations: 19.81 kB / 0.9608 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.3923, allocations: 21.23 kB / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3923, allocations: 8 kB / 0.9609 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3923, allocations: 3.938 kB / 0.9609 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3923, allocations: 0 / 0.9609 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.3925, allocations: 261.4 kB / 0.9611 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3926, allocations: 3.984 kB / 0.9611 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.3926, allocations: 11.94 kB / 0.9611 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3926, allocations: 4 kB / 0.9611 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3926, allocations: 4 kB / 0.9611 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3926, allocations: 4 kB / 0.9611 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3926, allocations: 3.938 kB / 0.9611 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.3929, allocations: 215.4 kB / 0.9613 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.393, allocations: 104.8 kB / 0.9614 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.393, allocations: 4 kB / 0.9615 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.3931, allocations: 4 kB / 0.9615 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.3932, allocations: 19.92 kB / 0.9615 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3932, allocations: 15.98 kB / 0.9615 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001491/0.3933, allocations: 160.5 kB / 0.9616 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3933, allocations: 3.938 kB / 0.9616 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003312/0.3937, allocations: 67.98 kB / 0.9617 GB, free: 12.59 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001676/0.3938, allocations: 107.2 kB / 0.9618 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007247/0.3946, allocations: 0.5365 MB / 0.9623 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3946, allocations: 0 / 0.9623 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3947, allocations: 64.62 kB / 0.9624 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.3952, allocations: 70.84 kB / 0.9625 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006125/0.3958, allocations: 345.9 kB / 0.9628 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.3961, allocations: 0.7319 MB / 0.9635 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.125e-05/0.3962, allocations: 25.53 kB / 0.9635 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.3962, allocations: 15.44 kB / 0.9636 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of SimCode: time 4.2e-07/0.3962, allocations: 0 / 0.9636 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.008606/0.4048, allocations: 4.56 MB / 0.968 GB, free: 6.09 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches