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.001112/0.001112, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001225/0.001224, allocations: 189 kB / 16.25 MB, free: 6.152 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.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.433/2.433, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 66.47 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2507, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001824/0.2526, allocations: 1.02 MB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.254, allocations: 1.439 MB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.254, allocations: 4 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.009e-05/0.2541, allocations: 11.86 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.2542, allocations: 35.72 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008161/0.255, allocations: 421.6 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.2554, allocations: 0.5108 MB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2555, allocations: 45.66 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.2557, allocations: 179.6 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.2558, allocations: 143.5 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.2559, allocations: 48 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.256, allocations: 67.91 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.256, allocations: 35.86 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.2561, allocations: 167.4 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.2565, allocations: 0.495 MB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.2565, allocations: 0 / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.31e-07/0.2565, allocations: 0 / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.2565, allocations: 0 / 1.057 GB, free: 4.039 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.0005924/0.2571, allocations: 0.6301 MB / 1.058 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.2571, allocations: 8.625 kB / 1.058 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.2572, allocations: 42.73 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.028e-05/0.2572, allocations: 32.66 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.2574, allocations: 223 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.2574, allocations: 16.36 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.2575, allocations: 24.38 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.2576, allocations: 118.9 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2577, allocations: 7.875 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.2577, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2577, allocations: 4 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.418e-05/0.2578, allocations: 59.95 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007244/0.2585, allocations: 0.8794 MB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.2586, allocations: 118.4 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.2587, allocations: 51.48 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.2587, allocations: 4 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.2589, allocations: 174.6 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.2589, allocations: 0 / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.00036/0.2593, allocations: 237.2 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.2593, allocations: 132.5 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.2595, allocations: 248.8 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.2596, allocations: 37.7 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.2597, allocations: 124.5 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.2597, allocations: 35.61 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.2599, allocations: 85.66 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.26, allocations: 338.8 kB / 1.06 GB, free: 108 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.2602, allocations: 144.2 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.2605, allocations: 227.3 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.2609, allocations: 361 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2609, allocations: 4 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007782/0.2617, allocations: 0.5583 MB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.714e-05/0.2618, allocations: 134.8 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2618, allocations: 4 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.2618, allocations: 4 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.2618, allocations: 12.23 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2619, allocations: 15.88 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.2625, allocations: 115.6 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.2625, allocations: 27.98 kB / 1.062 GB, free: 14.36 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.0001264/0.2626, allocations: 154.4 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.2627, allocations: 19.81 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.2627, allocations: 21.19 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2627, allocations: 4 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2627, allocations: 7.922 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2627, allocations: 3.938 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.2629, allocations: 262.4 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2629, allocations: 0 / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.263, allocations: 12 kB / 1.062 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.263, allocations: 4 kB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.263, allocations: 7.984 kB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.263, allocations: 0 / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.263, allocations: 0 / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.2633, allocations: 226 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.2633, allocations: 100.8 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.2633, allocations: 4 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.982e-05/0.2634, allocations: 7.984 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.2634, allocations: 19.92 kB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.2634, allocations: 8 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001152/0.2636, allocations: 168.5 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2636, allocations: 0 / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002975/0.2639, allocations: 64 kB / 1.063 GB, free: 13.19 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.0004527/0.2643, allocations: 0.7669 MB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.2649, allocations: 0.5286 MB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2649, allocations: 4 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.935e-05/0.265, allocations: 63.91 kB / 1.064 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.2654, allocations: 68.77 kB / 1.064 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.2685, allocations: 3.04 MB / 1.067 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.2687, allocations: 0.7242 MB / 1.068 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.127e-05/0.2687, allocations: 26.3 kB / 1.068 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.2688, allocations: 59.41 kB / 1.068 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2688, allocations: 0 / 1.068 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9441/1.213, allocations: 6.264 MB / 1.074 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.213, allocations: 222.7 kB / 1.075 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.748, allocations: 6.188 kB / 1.075 GB, free: 1.289 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