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.001859/0.001859, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.002452/0.002452, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.717/1.717, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.927/2.927, allocations: 437 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 71.88 kB / 0.8688 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.028, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002815/1.031, allocations: 1.017 MB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002397/1.033, allocations: 1.436 MB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/1.033, allocations: 4 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.916e-05/1.033, allocations: 11.86 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001568/1.033, allocations: 35.72 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/1.035, allocations: 417.7 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006024/1.035, allocations: 0.5147 MB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/1.035, allocations: 45.66 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/1.036, allocations: 191.4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/1.036, allocations: 135.5 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/1.036, allocations: 48 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/1.036, allocations: 67.98 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/1.036, allocations: 47.78 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002054/1.036, allocations: 163.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005786/1.037, allocations: 496.6 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.037, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.124e-06/1.037, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.037, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 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.0009853/1.038, allocations: 0.6301 MB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.038, allocations: 8.031 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/1.038, allocations: 32.66 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/1.038, allocations: 222.9 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/1.038, allocations: 24.31 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/1.039, allocations: 20.38 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/1.039, allocations: 123.8 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.039, allocations: 192 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/1.039, allocations: 11.92 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/1.039, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/1.039, allocations: 55.92 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/1.04, allocations: 0.8795 MB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/1.041, allocations: 118.4 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/1.041, allocations: 51.48 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/1.041, allocations: 4 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003474/1.041, allocations: 174.7 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/1.041, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0005499/1.042, allocations: 229.2 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/1.042, allocations: 136.5 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/1.042, allocations: 240.9 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.939e-05/1.042, allocations: 37.7 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/1.042, allocations: 132.4 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/1.042, allocations: 35.5 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/1.043, allocations: 93.64 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002604/1.043, allocations: 338.8 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/1.043, allocations: 144.2 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/1.044, allocations: 221.6 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/1.044, allocations: 376.9 kB / 1.025 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.044, allocations: 0 / 1.025 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001154/1.045, allocations: 0.5545 MB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/1.046, allocations: 134.8 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.046, allocations: 3.984 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/1.046, allocations: 11.92 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/1.046, allocations: 16.25 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/1.046, allocations: 7.938 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/1.046, allocations: 115.6 kB / 1.026 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/1.047, allocations: 23.98 kB / 1.026 GB, free: 8.496 MB / 0.7794 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.0002076/1.047, allocations: 153.8 kB / 1.026 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/1.047, allocations: 15.81 kB / 1.026 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/1.047, allocations: 21.23 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.047, allocations: 4 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.047, allocations: 0 / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.047, allocations: 7.938 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/1.047, allocations: 261.4 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.047, allocations: 7.938 kB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/1.047, allocations: 11.98 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.047, allocations: 0 / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/1.047, allocations: 8 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.047, allocations: 0 / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/1.047, allocations: 4 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/1.048, allocations: 220.2 kB / 1.027 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/1.048, allocations: 96.83 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/1.048, allocations: 7.984 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.164e-05/1.048, allocations: 4 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/1.048, allocations: 15.92 kB / 1.027 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/1.048, allocations: 12 kB / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001779/1.048, allocations: 168.5 kB / 1.027 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/1.048, allocations: 0 / 1.027 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003653/1.049, allocations: 67.94 kB / 1.027 GB, free: 7.328 MB / 0.7794 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.0002505/1.049, allocations: 124.4 kB / 1.027 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008402/1.05, allocations: 0.5383 MB / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.05, allocations: 0 / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/1.05, allocations: 63.92 kB / 1.028 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/1.05, allocations: 66.06 kB / 1.028 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/1.051, allocations: 379 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/1.052, allocations: 0.7281 MB / 1.029 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.807e-05/1.052, allocations: 21.55 kB / 1.029 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/1.052, allocations: 19.42 kB / 1.029 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of SimCode: time 4.088e-06/1.052, allocations: 0 / 1.029 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of Templates: time 0.01051/1.062, allocations: 4.546 MB / 1.034 GB, free: 0.7969 MB / 0.7794 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=400 -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/jenkins/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