Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_10_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_10_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.001396/0.001396, allocations: 110.7 kB / 16.42 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.001318/0.001318, allocations: 189.5 kB / 17.35 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.401/1.401, 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.74/2.74, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 71.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242/1.244, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002627/1.247, allocations: 0.9694 MB / 1.168 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002157/1.249, allocations: 1.432 MB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/1.249, allocations: 8 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.117e-05/1.249, allocations: 19.73 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002077/1.249, allocations: 59.56 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/1.251, allocations: 451.5 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006971/1.251, allocations: 0.5147 MB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/1.252, allocations: 49.64 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/1.252, allocations: 179.6 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/1.252, allocations: 167.5 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/1.252, allocations: 48 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/1.253, allocations: 60 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/1.253, allocations: 39.75 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002349/1.253, allocations: 171.3 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005716/1.253, allocations: 498.5 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.253, allocations: 4 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/1.253, allocations: 0 / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.199e-05/1.253, allocations: 0 / 1.172 GB, free: 15.19 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001073/1.255, allocations: 0.6319 MB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.255, allocations: 12.03 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/1.255, allocations: 24.75 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/1.255, allocations: 223 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/1.255, allocations: 20.31 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/1.255, allocations: 28.36 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/1.255, allocations: 119.7 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.255, allocations: 4.188 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/1.255, allocations: 7.938 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.255, allocations: 0 / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/1.255, allocations: 55.91 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/1.257, allocations: 0.8756 MB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/1.257, allocations: 122.4 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/1.257, allocations: 55.48 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/1.257, allocations: 0 / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/1.257, allocations: 170.6 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/1.257, allocations: 4 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0004928/1.258, allocations: 221.3 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/1.258, allocations: 136.5 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/1.258, allocations: 240.9 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/1.258, allocations: 37.7 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/1.258, allocations: 128.5 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/1.258, allocations: 31.55 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/1.258, allocations: 101.6 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.259, allocations: 334.8 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/1.259, allocations: 140.2 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/1.259, allocations: 230.6 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/1.26, allocations: 368.9 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.26, allocations: 4 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000952/1.261, allocations: 0.5436 MB / 1.177 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.393e-05/1.261, allocations: 142.7 kB / 1.177 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.261, allocations: 4 kB / 1.177 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.261, allocations: 8.25 kB / 1.177 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/1.261, allocations: 12 kB / 1.177 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/1.261, allocations: 11.92 kB / 1.177 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/1.262, allocations: 107.7 kB / 1.177 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/1.262, allocations: 35.92 kB / 1.177 GB, free: 9.578 MB / 0.9044 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.0001786/1.262, allocations: 150.4 kB / 1.177 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/1.262, allocations: 23.72 kB / 1.177 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/1.262, allocations: 17.25 kB / 1.177 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/1.262, allocations: 8.016 kB / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.262, allocations: 4 kB / 1.177 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/1.262, allocations: 92.86 kB / 1.177 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/1.262, allocations: 19.92 kB / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/1.262, allocations: 4 kB / 1.177 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/1.262, allocations: 15.98 kB / 1.177 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003776/1.263, allocations: 466.7 kB / 1.178 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004329/1.263, allocations: 0.5704 MB / 1.178 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.844e-05/1.263, allocations: 59.97 kB / 1.178 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001451/1.263, allocations: 160.5 kB / 1.178 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of Backend: time 2.8e-07/1.263, allocations: 4 kB / 1.178 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001238/1.265, allocations: 0.5763 MB / 1.179 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001022/1.266, allocations: 0.7833 MB / 1.18 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.009001/1.275, allocations: 4.696 MB / 1.184 GB, free: 1.848 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches