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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001602/0.001602, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.57/1.57, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.173/3.173, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 66.36 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3948, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002543/0.3974, allocations: 0.9642 MB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002723/0.4001, allocations: 1.447 MB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.4004, allocations: 4 kB / 1.071 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.64e-05/0.4005, allocations: 15.75 kB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.4008, allocations: 47.56 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.4026, allocations: 440 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009596/0.4036, allocations: 0.5186 MB / 1.072 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.4038, allocations: 37.66 kB / 1.072 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005168/0.4043, allocations: 183.6 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.4047, allocations: 143.5 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.4048, allocations: 48 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.4051, allocations: 67.92 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.4052, allocations: 31.86 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.4055, allocations: 171.4 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007957/0.4063, allocations: 498.9 kB / 1.073 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4063, allocations: 4 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4063, allocations: 0 / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.4063, allocations: 0 / 1.073 GB, free: 5.852 MB / 0.8262 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.001369/0.4077, allocations: 0.6339 MB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.4078, allocations: 8.031 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.408, allocations: 32.73 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.4083, allocations: 219 kB / 1.074 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.4083, allocations: 12.38 kB / 1.074 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/0.4084, allocations: 24.38 kB / 1.074 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.4087, allocations: 117.6 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4088, allocations: 4.188 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.4088, allocations: 11.92 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.4088, allocations: 7.984 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.409, allocations: 47.92 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.4105, allocations: 0.8795 MB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.4108, allocations: 126.4 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.4109, allocations: 47.5 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.411, allocations: 3.938 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.4113, allocations: 187.3 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.023e-06/0.4114, allocations: 0 / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000698/0.4121, allocations: 217.4 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.4122, allocations: 136.5 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.4125, allocations: 240.9 kB / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.691e-05/0.4126, allocations: 41.69 kB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.4128, allocations: 132.5 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.4129, allocations: 27.61 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.4131, allocations: 101.6 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4133, allocations: 330.8 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.4138, allocations: 148.2 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.4143, allocations: 223.9 kB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.415, allocations: 368.9 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.415, allocations: 4 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001404/0.4164, allocations: 0.5508 MB / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.4166, allocations: 140.5 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.4166, allocations: 4 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.4167, allocations: 4 kB / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4168, allocations: 15.94 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.4168, allocations: 4 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/0.4178, allocations: 119.7 kB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/0.4179, allocations: 23.98 kB / 1.078 GB, free: 232 kB / 0.8262 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.0002602/0.4182, allocations: 153.7 kB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.4182, allocations: 27.72 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.142e-05/0.4183, allocations: 25.17 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4183, allocations: 8 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4183, allocations: 0 / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.549e-05/0.4184, allocations: 1.141 kB / 1.078 GB, free: 16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.4188, allocations: 261.5 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4188, allocations: 0 / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.4188, allocations: 11.98 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.4188, allocations: 4 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.4189, allocations: 0 / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.4189, allocations: 7.938 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4189, allocations: 0 / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.4193, allocations: 232.6 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.4194, allocations: 92.91 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.4194, allocations: 8 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.4195, allocations: 0 / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.4196, allocations: 23.86 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.4197, allocations: 15.98 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002036/0.4199, allocations: 164.5 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4199, allocations: 3.938 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005284/0.4204, allocations: 67.98 kB / 1.079 GB, free: 15.03 MB / 0.8419 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.0002067/0.4206, allocations: 103.8 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.4217, allocations: 0.5407 MB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4217, allocations: 0 / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.4218, allocations: 63.92 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006598/0.4225, allocations: 64.48 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/0.4234, allocations: 349 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.4239, allocations: 0.7359 MB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.713e-05/0.424, allocations: 17.55 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.424, allocations: 15.44 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of SimCode: time 6.61e-07/0.4241, allocations: 0 / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.01232/0.4364, allocations: 4.579 MB / 1.085 GB, free: 8.523 MB / 0.8419 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/jenkins/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