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.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001248/0.001248, allocations: 194.9 kB / 16.14 MB, free: 6.711 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.229/2.229, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.91 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4742, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00192/0.4762, allocations: 1.025 MB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.4777, allocations: 1.495 MB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.4778, allocations: 4 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.4778, allocations: 7.875 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.4779, allocations: 39.69 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.4787, allocations: 427.2 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.479, allocations: 419 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.4791, allocations: 45.66 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.4793, allocations: 155.5 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.4794, allocations: 123.5 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.4795, allocations: 27.94 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.008e-05/0.4796, allocations: 31.98 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.108e-05/0.4796, allocations: 35.83 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.4797, allocations: 131.4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.4801, allocations: 476.9 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4801, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.32e-07/0.4801, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.4801, allocations: 0 / 1.021 GB, free: 14.37 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.0006177/0.4808, allocations: 0.6262 MB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.4808, allocations: 8.031 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.4808, allocations: 42.73 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.4809, allocations: 28.66 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.4811, allocations: 223 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.4811, allocations: 16.31 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.4811, allocations: 24.38 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.4813, allocations: 128.1 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4813, allocations: 3.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4813, allocations: 3.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4813, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.4814, allocations: 55.91 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.4822, allocations: 0.8795 MB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.4823, allocations: 114.4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/0.4824, allocations: 51.48 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.4824, allocations: 7.938 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.4826, allocations: 170.7 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.4827, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003795/0.483, allocations: 230 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.4831, allocations: 144.5 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.4833, allocations: 236.9 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.4834, allocations: 37.7 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/0.4834, allocations: 136.4 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.4835, allocations: 31.56 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.4836, allocations: 89.66 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.4837, allocations: 330.8 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.484, allocations: 148.2 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.4843, allocations: 219.9 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.4847, allocations: 368.9 kB / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4847, allocations: 0 / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007991/0.4855, allocations: 0.5623 MB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.356e-05/0.4856, allocations: 134.8 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4856, allocations: 7.938 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.4856, allocations: 0 / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.4857, allocations: 27.86 kB / 1.026 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4857, allocations: 4 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.4863, allocations: 119.9 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.4863, allocations: 27.98 kB / 1.026 GB, free: 8.695 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.0001257/0.4865, allocations: 150.3 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.4865, allocations: 15.81 kB / 1.026 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.4865, allocations: 25.23 kB / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4865, allocations: 0 / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4866, allocations: 4 kB / 1.026 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4866, allocations: 3.938 kB / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.4868, allocations: 261.4 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4868, allocations: 0 / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.4868, allocations: 15.98 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4868, allocations: 0 / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.4868, allocations: 8 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4868, allocations: 7.938 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4868, allocations: 3.984 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.4871, allocations: 211.3 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.4871, allocations: 100.8 kB / 1.027 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.4872, allocations: 11.98 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.871e-05/0.4872, allocations: 4 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.4873, allocations: 19.86 kB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.4873, allocations: 8 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001214/0.4874, allocations: 168.5 kB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4874, allocations: 0 / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002873/0.4877, allocations: 71.94 kB / 1.027 GB, free: 7.523 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.0004639/0.4882, allocations: 0.7651 MB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005699/0.4888, allocations: 0.5251 MB / 1.028 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4888, allocations: 0 / 1.028 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/0.4889, allocations: 68.52 kB / 1.028 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.4892, allocations: 66.8 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.4924, allocations: 3.031 MB / 1.031 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.4927, allocations: 0.7245 MB / 1.032 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.517e-05/0.4927, allocations: 21.55 kB / 1.032 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.4928, allocations: 63.41 kB / 1.032 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4928, allocations: 0 / 1.032 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7032/1.196, allocations: 6.044 MB / 1.038 GB, free: 12.09 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/1.196, allocations: 216.6 kB / 1.038 GB, free: 11.84 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.849, allocations: 0 / 1.038 GB, free: 11.84 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