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: "" <> 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.00621/0.00621, allocations: 96.7 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.001458/0.001458, allocations: 198.6 kB / 16.68 MB, free: 5.973 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.63/2.63, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 71.88 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2923, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002056/0.2944, allocations: 0.9603 MB / 1.243 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2961, allocations: 1.431 MB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.953e-05/0.2961, allocations: 4 kB / 1.244 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.651e-05/0.2962, allocations: 15.8 kB / 1.244 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.2963, allocations: 55.5 kB / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009535/0.2973, allocations: 450.4 kB / 1.245 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005002/0.2978, allocations: 0.5186 MB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.2979, allocations: 45.66 kB / 1.245 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.2981, allocations: 175.6 kB / 1.245 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.2984, allocations: 163.5 kB / 1.246 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.467e-05/0.2985, allocations: 48 kB / 1.246 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.2986, allocations: 63.98 kB / 1.246 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.2986, allocations: 47.78 kB / 1.246 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.2988, allocations: 163.5 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004819/0.2993, allocations: 0.4906 MB / 1.246 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2993, allocations: 0 / 1.246 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2993, allocations: 0 / 1.246 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2993, allocations: 0 / 1.246 GB, free: 5.203 MB / 0.9981 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.0007884/0.3001, allocations: 0.6417 MB / 1.247 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3002, allocations: 12.03 kB / 1.247 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.3002, allocations: 34.75 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.185e-05/0.3003, allocations: 36.78 kB / 1.247 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.3005, allocations: 227.1 kB / 1.247 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.3005, allocations: 12.38 kB / 1.247 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.3006, allocations: 28.25 kB / 1.247 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3008, allocations: 121.6 kB / 1.247 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3008, allocations: 7.922 kB / 1.247 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3008, allocations: 7.984 kB / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3008, allocations: 0 / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.3009, allocations: 59.92 kB / 1.248 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.3018, allocations: 0.8757 MB / 1.248 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.302, allocations: 126.4 kB / 1.248 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.227e-05/0.3021, allocations: 51.44 kB / 1.249 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.3021, allocations: 0 / 1.249 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.3024, allocations: 181.7 kB / 1.249 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.3024, allocations: 0 / 1.249 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0004285/0.3028, allocations: 221.4 kB / 1.249 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/0.3029, allocations: 144.5 kB / 1.249 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.3032, allocations: 236.9 kB / 1.249 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.3032, allocations: 41.69 kB / 1.249 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3033, allocations: 132.5 kB / 1.249 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.3034, allocations: 39.72 kB / 1.249 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.3036, allocations: 89.66 kB / 1.25 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3037, allocations: 330.8 kB / 1.25 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.304, allocations: 144.2 kB / 1.25 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.3043, allocations: 231.6 kB / 1.25 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.3048, allocations: 361 kB / 1.251 GB, free: 428 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3048, allocations: 7.938 kB / 1.251 GB, free: 420 kB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.4668/0.7716, allocations: 0.5482 MB / 1.251 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.7717, allocations: 137.7 kB / 1.251 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.7717, allocations: 2.938 kB / 1.251 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.7717, allocations: 4.484 kB / 1.251 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.7718, allocations: 15.69 kB / 1.251 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7718, allocations: 4.734 kB / 1.251 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006055/0.7724, allocations: 114 kB / 1.251 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.7725, allocations: 28.44 kB / 1.251 GB, free: 14.42 MB / 0.9981 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.0001329/0.7726, allocations: 148.6 kB / 1.252 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.7726, allocations: 20.89 kB / 1.252 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.7727, allocations: 28.11 kB / 1.252 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.7727, allocations: 2.969 kB / 1.252 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.7727, allocations: 5.312 kB / 1.252 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.7727, allocations: 2.531 kB / 1.252 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.7729, allocations: 261.1 kB / 1.252 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.7729, allocations: 1.25 kB / 1.252 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.773, allocations: 10.98 kB / 1.252 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.773, allocations: 2.344 kB / 1.252 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.773, allocations: 8.641 kB / 1.252 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.773, allocations: 7.531 kB / 1.252 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.773, allocations: 3.109 kB / 1.252 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.7732, allocations: 217.8 kB / 1.252 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.7733, allocations: 101.3 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.7733, allocations: 3.453 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.533e-05/0.7734, allocations: 7.703 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.7734, allocations: 14.64 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.7734, allocations: 9.328 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001211/0.7736, allocations: 168.2 kB / 1.252 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7736, allocations: 3.188 kB / 1.252 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000293/0.7739, allocations: 69.31 kB / 1.252 GB, free: 13.84 MB / 0.9981 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.0003941/0.7743, allocations: 0.7655 MB / 1.253 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005492/0.7748, allocations: 0.53 MB / 1.254 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7748, allocations: 0.6562 kB / 1.254 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.7749, allocations: 68.7 kB / 1.254 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.7753, allocations: 63.75 kB / 1.254 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.7784, allocations: 3.012 MB / 1.257 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.7785, allocations: 0.7292 MB / 1.258 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.143e-05/0.7786, allocations: 23.28 kB / 1.258 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.7786, allocations: 57.16 kB / 1.258 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.7786, allocations: 0 / 1.258 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5668/1.345, allocations: 6.41 MB / 1.264 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.664/11.01, allocations: 14.5 kB / 1.264 GB, free: 9.652 MB / 0.9981 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=400 --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