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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009151/0.0009154, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005542/0.005542, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004313, allocations: 12 kB / 0.873 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5911/0.5916, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0009505/0.5926, allocations: 0.6711 MB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.5942, allocations: 1.487 MB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.473e-05/0.5943, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.5944, allocations: 15.86 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.5945, allocations: 31.72 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009201/0.5954, allocations: 426.1 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.5958, allocations: 427.1 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.5959, allocations: 41.66 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.5961, allocations: 147.5 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.5963, allocations: 131.4 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.5963, allocations: 16 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.855e-05/0.5964, allocations: 35.98 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.5965, allocations: 27.84 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.5966, allocations: 161.1 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.597, allocations: 460.8 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.597, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.597, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.597, allocations: 0 / 1.027 GB, free: 11.77 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.0005695/0.5976, allocations: 0.5678 MB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.5976, allocations: 8.031 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.5977, allocations: 42.73 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.064e-05/0.5978, allocations: 28.69 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.5979, allocations: 219 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.598, allocations: 24.3 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.598, allocations: 20.38 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.5982, allocations: 127.8 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.5982, allocations: 3.938 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5983, allocations: 0 / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.5983, allocations: 4 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.97e-05/0.5984, allocations: 55.91 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/0.5992, allocations: 0.8833 MB / 1.029 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.5993, allocations: 118.4 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.5994, allocations: 51.48 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.5994, allocations: 4 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.5996, allocations: 170.6 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.5996, allocations: 0 / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003923/0.6, allocations: 230 kB / 1.03 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.6001, allocations: 136.5 kB / 1.03 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.6003, allocations: 240.9 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.6004, allocations: 45.64 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.6005, allocations: 128.5 kB / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.6005, allocations: 35.55 kB / 1.03 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.6006, allocations: 37.7 kB / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.6007, allocations: 334.8 kB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.601, allocations: 144.2 kB / 1.031 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.6013, allocations: 223.9 kB / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.6016, allocations: 372.9 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6017, allocations: 0 / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007892/0.6025, allocations: 0.5546 MB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/0.6025, allocations: 138.8 kB / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.6026, allocations: 3.938 kB / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.6026, allocations: 4 kB / 1.032 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.6026, allocations: 15.98 kB / 1.032 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.6027, allocations: 11.88 kB / 1.032 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007062/0.6034, allocations: 159.8 kB / 1.032 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.6034, allocations: 27.98 kB / 1.032 GB, free: 6.168 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.0001382/0.6036, allocations: 147.6 kB / 1.032 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.6036, allocations: 27.7 kB / 1.032 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.6036, allocations: 17.25 kB / 1.032 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6037, allocations: 4 kB / 1.032 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6037, allocations: 0 / 1.032 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6037, allocations: 7.922 kB / 1.032 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.6039, allocations: 257.5 kB / 1.033 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6039, allocations: 0 / 1.033 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.6039, allocations: 12 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6039, allocations: 4 kB / 1.033 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.604, allocations: 11.98 kB / 1.033 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.604, allocations: 4 kB / 1.033 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.604, allocations: 0 / 1.033 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.6042, allocations: 219.2 kB / 1.033 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.6043, allocations: 96.91 kB / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.6043, allocations: 8 kB / 1.033 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.6044, allocations: 7.984 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.6044, allocations: 15.92 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.6044, allocations: 8 kB / 1.033 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001262/0.6046, allocations: 168.5 kB / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6046, allocations: 0 / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003028/0.6049, allocations: 67.94 kB / 1.033 GB, free: 5.004 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.0004935/0.6054, allocations: 0.7751 MB / 1.034 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005968/0.606, allocations: 0.5258 MB / 1.034 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.606, allocations: 0 / 1.034 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.6061, allocations: 68.3 kB / 1.034 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.6065, allocations: 68.39 kB / 1.035 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.6098, allocations: 3.034 MB / 1.037 GB, free: 264 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.6101, allocations: 0.7245 MB / 1.038 GB, free: 15.51 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.278e-05/0.6102, allocations: 21.55 kB / 1.038 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.6102, allocations: 63.41 kB / 1.038 GB, free: 15.43 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.6102, allocations: 0 / 1.038 GB, free: 15.43 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6132/1.223, allocations: 5.972 MB / 1.044 GB, free: 9.668 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/1.224, allocations: 210.1 kB / 1.044 GB, free: 9.418 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.88, allocations: 8.062 kB / 1.044 GB, free: 9.41 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