Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001093/0.001093, 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.001109/0.00111, 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.343/2.343, allocations: 437.1 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.499, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001792/0.5009, allocations: 0.9744 MB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.5022, allocations: 1.432 MB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.5023, allocations: 4 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.5023, allocations: 19.73 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.5025, allocations: 51.56 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008349/0.5033, allocations: 443.7 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003791/0.5037, allocations: 0.5107 MB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.5038, allocations: 45.66 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.504, allocations: 183.6 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.5041, allocations: 135.5 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.5042, allocations: 48 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.5043, allocations: 67.92 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.5043, allocations: 39.84 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.5045, allocations: 167.4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.5048, allocations: 496.9 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5049, allocations: 4 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5049, allocations: 4 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.5049, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 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.0006272/0.5055, allocations: 0.634 MB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.5055, allocations: 8.031 kB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.5056, allocations: 38.75 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.5057, allocations: 28.66 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.5058, allocations: 223 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.5058, allocations: 16.31 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.5059, allocations: 32.31 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.5061, allocations: 121.6 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.5061, allocations: 3.938 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.5061, allocations: 3.984 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5061, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.484e-05/0.5062, allocations: 55.91 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.5069, allocations: 0.8756 MB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.5071, allocations: 114.4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.5071, allocations: 55.42 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.5072, allocations: 8 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.5074, allocations: 172.8 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.5074, allocations: 3.938 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003698/0.5077, allocations: 229.2 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.5078, allocations: 136.5 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.508, allocations: 240.9 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.5081, allocations: 37.7 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.5082, allocations: 132.5 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.5082, allocations: 35.55 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.5083, allocations: 93.64 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.5084, allocations: 326.8 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.5087, allocations: 152.2 kB / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.509, allocations: 214.7 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.5094, allocations: 376.9 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5094, allocations: 0 / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007784/0.5101, allocations: 0.5506 MB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.5102, allocations: 136.7 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5102, allocations: 3.984 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.5102, allocations: 8 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.5103, allocations: 15.94 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5103, allocations: 8.25 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/0.511, allocations: 115.6 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.511, allocations: 27.98 kB / 1.027 GB, free: 8.234 MB / 0.7794 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.0001252/0.5111, allocations: 149.8 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.5112, allocations: 15.81 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.5112, allocations: 25.23 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5112, allocations: 3.938 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5112, allocations: 7.938 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.5112, allocations: 3.938 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.5114, allocations: 261.4 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5114, allocations: 0 / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.5115, allocations: 24.86 kB / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.5115, allocations: 0 / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.5115, allocations: 4 kB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5115, allocations: 4 kB / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.5115, allocations: 0 / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.5117, allocations: 211.3 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.5118, allocations: 104.8 kB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.5118, allocations: 11.92 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.689e-05/0.5119, allocations: 7.984 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.5119, allocations: 15.92 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.5119, allocations: 8 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001209/0.5121, allocations: 168.5 kB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5121, allocations: 0 / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000283/0.5124, allocations: 71.94 kB / 1.028 GB, free: 7.055 MB / 0.7794 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.0004562/0.5128, allocations: 0.76 MB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005808/0.5134, allocations: 0.5339 MB / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5134, allocations: 0 / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-05/0.5135, allocations: 71.89 kB / 1.029 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.5139, allocations: 72.75 kB / 1.029 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.517, allocations: 2.984 MB / 1.032 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.5172, allocations: 0.7281 MB / 1.033 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.501e-05/0.5173, allocations: 21.55 kB / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.5174, allocations: 67.34 kB / 1.033 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5174, allocations: 0 / 1.033 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.873/5.391, allocations: 6.363 MB / 1.039 GB, free: 11.31 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/13.8, allocations: 6.688 kB / 1.039 GB, free: 11.3 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches