Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001412/0.001412, allocations: 105.4 kB / 16.36 MB, free: 6.312 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.001724/0.001724, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.579/2.579, allocations: 442.6 MB / 0.7166 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 72.02 kB / 0.8774 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3473, allocations: 153 MB / 1.027 GB, free: 1.992 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002363/0.3497, allocations: 0.9758 MB / 1.028 GB, free: 1.02 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.3517, allocations: 1.436 MB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.3518, allocations: 4 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.458e-05/0.3518, allocations: 11.81 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.352, allocations: 51.5 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.3531, allocations: 443.8 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006/0.3537, allocations: 0.5146 MB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.3538, allocations: 53.64 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.354, allocations: 187.5 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.3542, allocations: 159.5 kB / 1.031 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.3544, allocations: 51.94 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3545, allocations: 59.98 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.3546, allocations: 39.8 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.3547, allocations: 163.5 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.3552, allocations: 0.4908 MB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3553, allocations: 4 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.388e-06/0.3553, allocations: 7.922 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3553, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 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.000854/0.3561, allocations: 0.6236 MB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3562, allocations: 8.031 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.901e-05/0.3563, allocations: 32.66 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.3565, allocations: 226.9 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.3566, allocations: 12.38 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.3566, allocations: 24.31 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.3568, allocations: 124.6 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3569, allocations: 192 / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.3569, allocations: 15.92 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3569, allocations: 0 / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.357, allocations: 51.92 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/0.358, allocations: 0.8756 MB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.3582, allocations: 118.4 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.506e-05/0.3583, allocations: 59.42 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.3583, allocations: 4 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.3585, allocations: 170.7 kB / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.3586, allocations: 0 / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0004658/0.359, allocations: 229.9 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.3591, allocations: 132.5 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.3594, allocations: 240.9 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.3594, allocations: 37.7 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.3595, allocations: 132.5 kB / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.3596, allocations: 31.61 kB / 1.034 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3597, allocations: 93.64 kB / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3599, allocations: 334.8 kB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.3602, allocations: 144.2 kB / 1.035 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.3605, allocations: 227.3 kB / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.361, allocations: 372.9 kB / 1.035 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.361, allocations: 0 / 1.035 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008785/0.3619, allocations: 0.5588 MB / 1.036 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.964e-05/0.362, allocations: 134.8 kB / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.362, allocations: 7.984 kB / 1.036 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.362, allocations: 4 kB / 1.036 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.3621, allocations: 11.94 kB / 1.036 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.3621, allocations: 7.938 kB / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/0.3627, allocations: 111.8 kB / 1.036 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.3628, allocations: 39.89 kB / 1.036 GB, free: 7.73 MB / 0.8106 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.0001694/0.363, allocations: 149.7 kB / 1.036 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.363, allocations: 19.81 kB / 1.036 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.3631, allocations: 21.23 kB / 1.036 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3631, allocations: 4 kB / 1.036 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3631, allocations: 0 / 1.036 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.3632, allocations: 104.8 kB / 1.037 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.3632, allocations: 7.938 kB / 1.037 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.3633, allocations: 8 kB / 1.037 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.3633, allocations: 19.97 kB / 1.037 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004066/0.3637, allocations: 474.6 kB / 1.037 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004235/0.3642, allocations: 0.5587 MB / 1.038 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.936e-05/0.3643, allocations: 64.05 kB / 1.038 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001486/0.3644, allocations: 164.5 kB / 1.038 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of Backend: time 7.42e-07/0.3644, allocations: 0 / 1.038 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.3657, allocations: 0.5783 MB / 1.038 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0009465/0.3666, allocations: 0.7753 MB / 1.039 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of Templates: time 0.008207/0.3749, allocations: 4.681 MB / 1.044 GB, free: 36 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches