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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005513/0.005513, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001175/0.001176, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.8/2.8, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3777, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002312/0.3801, allocations: 0.9583 MB / 1.208 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.382, allocations: 1.444 MB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.3821, allocations: 0 / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.093e-05/0.3822, allocations: 15.8 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.3824, allocations: 47.56 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.3835, allocations: 455 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006445/0.3841, allocations: 0.5108 MB / 1.211 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.3843, allocations: 53.55 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.3846, allocations: 179.6 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.3848, allocations: 155.5 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.418e-05/0.3849, allocations: 52 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.3851, allocations: 59.98 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.3851, allocations: 47.77 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.3853, allocations: 167.5 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.3858, allocations: 494.7 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3858, allocations: 0 / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3859, allocations: 8 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.3859, allocations: 0 / 1.212 GB, free: 5.492 MB / 0.9669 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.00107/0.3869, allocations: 0.6339 MB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.387, allocations: 12.61 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.3871, allocations: 38.75 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.3872, allocations: 24.75 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.3874, allocations: 226.9 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.3875, allocations: 12.38 kB / 1.213 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.3875, allocations: 28.31 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.3878, allocations: 125.6 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3878, allocations: 3.938 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3878, allocations: 0 / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.3878, allocations: 7.984 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3879, allocations: 55.91 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.389, allocations: 0.8796 MB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.3891, allocations: 114.4 kB / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.316e-05/0.3892, allocations: 59.42 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3892, allocations: 0 / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.3896, allocations: 180.6 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.3896, allocations: 0 / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0005609/0.3901, allocations: 225.3 kB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.3902, allocations: 136.5 kB / 1.214 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.3905, allocations: 244.8 kB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.3906, allocations: 37.7 kB / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3907, allocations: 140.3 kB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.3907, allocations: 35.61 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.3909, allocations: 89.64 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3911, allocations: 326.8 kB / 1.215 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.3914, allocations: 148.2 kB / 1.215 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.3917, allocations: 222.7 kB / 1.216 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.3922, allocations: 368.9 kB / 1.216 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3922, allocations: 3.938 kB / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009158/0.3931, allocations: 0.5509 MB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.3932, allocations: 134.9 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3932, allocations: 4 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3933, allocations: 4 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.3933, allocations: 15.92 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3934, allocations: 4 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.3941, allocations: 115.7 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.3941, allocations: 35.97 kB / 1.217 GB, free: 15.81 MB / 0.9825 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.0001717/0.3943, allocations: 146.3 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.3944, allocations: 23.72 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.3944, allocations: 21.23 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3944, allocations: 8.938 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3944, allocations: 0 / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3945, allocations: 7.938 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.3947, allocations: 253.5 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.3947, allocations: 7.984 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.3948, allocations: 11.94 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3948, allocations: 0 / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3948, allocations: 8 kB / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3948, allocations: 0 / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3948, allocations: 4 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.3951, allocations: 223.2 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.3952, allocations: 100.9 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.3952, allocations: 0 / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.3953, allocations: 7.938 kB / 1.218 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.3953, allocations: 15.92 kB / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3954, allocations: 19.98 kB / 1.218 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001601/0.3955, allocations: 160.5 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3955, allocations: 3.938 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003352/0.3959, allocations: 71.89 kB / 1.218 GB, free: 14.63 MB / 0.9825 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.0006214/0.3965, allocations: 0.7592 MB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007016/0.3972, allocations: 0.5233 MB / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3972, allocations: 3.938 kB / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.3973, allocations: 67.92 kB / 1.219 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.3978, allocations: 69.77 kB / 1.219 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.4021, allocations: 3.013 MB / 1.222 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.4025, allocations: 0.732 MB / 1.223 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.4026, allocations: 22.23 kB / 1.223 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.4027, allocations: 59.41 kB / 1.223 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.4027, allocations: 0 / 1.223 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.4286, allocations: 6.565 MB / 1.229 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.302, allocations: 5.375 kB / 1.229 GB, free: 2.691 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > 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