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.005362/0.005362, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.0012/0.0012, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.672/2.672, allocations: 437.1 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 67.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.338, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002226/0.3403, allocations: 0.9729 MB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3422, allocations: 1.428 MB / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.3424, allocations: 0 / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.517e-05/0.3424, allocations: 19.73 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.3426, allocations: 63.56 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3438, allocations: 445.8 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006269/0.3444, allocations: 0.5147 MB / 1.17 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3445, allocations: 41.67 kB / 1.17 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.3448, allocations: 187.5 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.3451, allocations: 167.4 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.3452, allocations: 52 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.3454, allocations: 59.98 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.3454, allocations: 39.84 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.3456, allocations: 171.4 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.3461, allocations: 0.4905 MB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3462, allocations: 0 / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3462, allocations: 4 kB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.3462, allocations: 0 / 1.171 GB, free: 2.664 MB / 0.92 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.0008825/0.3471, allocations: 0.6301 MB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3471, allocations: 11.97 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.3472, allocations: 38.75 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.3473, allocations: 24.75 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.3475, allocations: 230.9 kB / 1.172 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.3475, allocations: 16.38 kB / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/0.3476, allocations: 24.38 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3478, allocations: 115.4 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3478, allocations: 7.938 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3478, allocations: 4 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3478, allocations: 7.984 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.348, allocations: 55.91 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009697/0.3489, allocations: 0.8717 MB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3491, allocations: 118.4 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.331e-05/0.3492, allocations: 51.48 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.3492, allocations: 0 / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.3496, allocations: 178.5 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.3496, allocations: 3.938 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0004729/0.35, allocations: 221.4 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.3501, allocations: 144.4 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.3504, allocations: 244.9 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.3504, allocations: 37.7 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.3506, allocations: 132.4 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.3506, allocations: 27.7 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.3508, allocations: 101.5 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3509, allocations: 326.8 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.3512, allocations: 148.2 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.3516, allocations: 227.4 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.352, allocations: 372.9 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.352, allocations: 0 / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009141/0.353, allocations: 0.5506 MB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.3531, allocations: 130.8 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3531, allocations: 4 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3531, allocations: 7.984 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.3532, allocations: 15.94 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3532, allocations: 4 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/0.3539, allocations: 111.9 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.3539, allocations: 31.97 kB / 1.176 GB, free: 13 MB / 0.9356 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.0001749/0.3541, allocations: 153.7 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.3542, allocations: 23.72 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.3542, allocations: 21.23 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3542, allocations: 4 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3542, allocations: 4 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3543, allocations: 7.938 kB / 1.176 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.3545, allocations: 261.5 kB / 1.176 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3545, allocations: 4.938 kB / 1.176 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.3546, allocations: 8 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3546, allocations: 0 / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3546, allocations: 8 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3546, allocations: 0 / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3546, allocations: 7.922 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.355, allocations: 219.3 kB / 1.176 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.355, allocations: 96.91 kB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.3551, allocations: 7.984 kB / 1.177 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.227e-05/0.3551, allocations: 8 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.3552, allocations: 15.92 kB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.3552, allocations: 11.98 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001551/0.3553, allocations: 168.4 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3554, allocations: 0 / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003425/0.3557, allocations: 71.89 kB / 1.177 GB, free: 11.81 MB / 0.9356 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.0006377/0.3563, allocations: 0.7625 MB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007289/0.3571, allocations: 0.5329 MB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3571, allocations: 0 / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3572, allocations: 59.92 kB / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.3577, allocations: 78.42 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.3616, allocations: 3.008 MB / 1.181 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.362, allocations: 0.732 MB / 1.182 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.217e-05/0.3621, allocations: 17.55 kB / 1.182 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.023e-05/0.3622, allocations: 55.41 kB / 1.182 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of SimCode: time 1.924e-06/0.3622, allocations: 4 kB / 1.182 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.3875, allocations: 6.404 MB / 1.188 GB, free: 28 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.211, allocations: 13.17 kB / 1.188 GB, free: 20 kB / 0.9356 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