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.001376/0.001376, 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.001496/0.001496, allocations: 194.6 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.51/2.51, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 61.27 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2396, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002059/0.2417, allocations: 0.9621 MB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.2433, allocations: 1.439 MB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.2434, allocations: 4 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.604e-05/0.2435, allocations: 15.75 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.2437, allocations: 55.56 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.2446, allocations: 441.9 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.2451, allocations: 0.503 MB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2453, allocations: 45.66 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.2455, allocations: 187.6 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.2456, allocations: 139.5 kB / 1.057 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.938e-05/0.2457, allocations: 48 kB / 1.057 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.2459, allocations: 63.98 kB / 1.057 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.2459, allocations: 43.83 kB / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.2461, allocations: 171.3 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.2465, allocations: 498.9 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2465, allocations: 0 / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2465, allocations: 0 / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.2465, allocations: 0 / 1.057 GB, free: 3.68 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.0007065/0.2472, allocations: 0.6262 MB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2473, allocations: 16.62 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.2473, allocations: 38.73 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.609e-05/0.2474, allocations: 32.66 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.2476, allocations: 226.9 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2476, allocations: 8.375 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/0.2477, allocations: 24.38 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.2478, allocations: 117.6 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2479, allocations: 11.88 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2479, allocations: 4 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2479, allocations: 0 / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.248, allocations: 55.97 kB / 1.059 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.2488, allocations: 0.8794 MB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.2489, allocations: 118.4 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.509e-05/0.249, allocations: 55.98 kB / 1.06 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.249, allocations: 0 / 1.06 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.2493, allocations: 180.7 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.2493, allocations: 0 / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003974/0.2497, allocations: 229.9 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.2498, allocations: 136.5 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.25, allocations: 244.8 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.25, allocations: 37.7 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.2501, allocations: 136.4 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.2502, allocations: 31.62 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.2503, allocations: 89.64 kB / 1.061 GB, free: 84 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2504, allocations: 326.8 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.2507, allocations: 148.2 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.251, allocations: 227.3 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.2514, allocations: 364.9 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.2514, allocations: 0 / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008292/0.2522, allocations: 0.5625 MB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.08e-05/0.2523, allocations: 134.8 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.2523, allocations: 4 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2523, allocations: 4 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.2524, allocations: 11.98 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2524, allocations: 7.938 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006605/0.2531, allocations: 123.8 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.2531, allocations: 27.98 kB / 1.062 GB, free: 14 MB / 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.0001316/0.2533, allocations: 150.3 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.2533, allocations: 19.81 kB / 1.063 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.2534, allocations: 25.17 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2534, allocations: 8 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2534, allocations: 3.938 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2534, allocations: 7.938 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.2536, allocations: 257.4 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2536, allocations: 4 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.2536, allocations: 7.984 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2537, allocations: 4 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2537, allocations: 8 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2537, allocations: 0 / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2537, allocations: 0 / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.2539, allocations: 223.3 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.254, allocations: 96.83 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.254, allocations: 7.984 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.2541, allocations: 8 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.2541, allocations: 11.92 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.2541, allocations: 16 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001252/0.2543, allocations: 164.5 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2543, allocations: 0 / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003005/0.2546, allocations: 68 kB / 1.063 GB, free: 12.83 MB / 0.8262 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.0005072/0.2551, allocations: 0.7693 MB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005938/0.2557, allocations: 0.5286 MB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2557, allocations: 4 kB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.2558, allocations: 63.91 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.2562, allocations: 73.52 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.2595, allocations: 3.005 MB / 1.068 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.2597, allocations: 0.732 MB / 1.069 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.304e-05/0.2598, allocations: 17.55 kB / 1.069 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.2599, allocations: 63.41 kB / 1.069 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2599, allocations: 0 / 1.069 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.17/3.43, allocations: 6.359 MB / 1.075 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.756/12.19, allocations: 8 kB / 1.075 GB, free: 1.07 MB / 0.8262 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