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.006811/0.006817, allocations: 104 kB / 15.73 MB, free: 6.492 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.00147/0.00147, allocations: 190 kB / 16.67 MB, free: 6.379 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3351, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002188/0.3373, allocations: 0.9711 MB / 1.208 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3393, allocations: 1.436 MB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3394, allocations: 0 / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.319e-05/0.3395, allocations: 19.75 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.3397, allocations: 47.58 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.3409, allocations: 449 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005948/0.3415, allocations: 0.5108 MB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3417, allocations: 49.62 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.3419, allocations: 183.6 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.3422, allocations: 167.4 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.822e-05/0.3423, allocations: 48 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.3425, allocations: 63.98 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.3425, allocations: 35.86 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.3427, allocations: 167.4 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.3433, allocations: 498.9 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3433, allocations: 0 / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3433, allocations: 4 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.3433, allocations: 0 / 1.212 GB, free: 5.492 MB / 0.9669 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.0008717/0.3442, allocations: 0.6378 MB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3442, allocations: 8.625 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.3443, allocations: 38.75 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.3444, allocations: 32.73 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.3446, allocations: 226.8 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.3447, allocations: 16.31 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.3447, allocations: 24.38 kB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.3449, allocations: 127.7 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.345, allocations: 7.875 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.345, allocations: 4 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.345, allocations: 4 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3451, allocations: 51.92 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009388/0.346, allocations: 0.8718 MB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.3462, allocations: 122.4 kB / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.3463, allocations: 51.5 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.3464, allocations: 7.984 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.3466, allocations: 178.6 kB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.3466, allocations: 0 / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0004401/0.3471, allocations: 221.3 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.3472, allocations: 128.5 kB / 1.214 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.3474, allocations: 252.8 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.3475, allocations: 37.7 kB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3476, allocations: 136.4 kB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.3476, allocations: 35.53 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.3478, allocations: 93.66 kB / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.348, allocations: 330.8 kB / 1.215 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.3483, allocations: 144.2 kB / 1.215 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.3486, allocations: 224.1 kB / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.3491, allocations: 372.8 kB / 1.216 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3491, allocations: 0 / 1.216 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009477/0.3501, allocations: 0.5509 MB / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.3502, allocations: 138.8 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3502, allocations: 4.938 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3503, allocations: 0 / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.3504, allocations: 12 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.3504, allocations: 7.938 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.351, allocations: 119.7 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.3511, allocations: 19.98 kB / 1.217 GB, free: 15.82 MB / 0.9825 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.0001858/0.3513, allocations: 154.3 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.3513, allocations: 23.7 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.3514, allocations: 21.25 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3514, allocations: 4 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.3514, allocations: 8 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3514, allocations: 11.91 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.3517, allocations: 257.5 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3517, allocations: 0 / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.3517, allocations: 8 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3517, allocations: 0 / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3518, allocations: 11.98 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3518, allocations: 4 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3518, allocations: 3.938 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.3521, allocations: 222 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.258e-05/0.3522, allocations: 96.91 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.3522, allocations: 4 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.285e-05/0.3523, allocations: 7.984 kB / 1.218 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.3524, allocations: 19.92 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3524, allocations: 8 kB / 1.218 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001618/0.3525, allocations: 172.5 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3526, allocations: 0 / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003491/0.3529, allocations: 67.91 kB / 1.218 GB, free: 14.63 MB / 0.9825 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.0006322/0.3535, allocations: 0.7553 MB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006912/0.3542, allocations: 0.5325 MB / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3543, allocations: 0 / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.3544, allocations: 64.41 kB / 1.219 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.3548, allocations: 76.23 kB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.359, allocations: 3.014 MB / 1.222 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.3593, allocations: 0.732 MB / 1.223 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.592e-05/0.3594, allocations: 21.53 kB / 1.223 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.3595, allocations: 55.42 kB / 1.223 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.3595, allocations: 0 / 1.223 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.3848, allocations: 6.562 MB / 1.229 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/8.846, allocations: 16.02 kB / 1.229 GB, free: 2.688 MB / 0.9825 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