Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005717/0.005717, allocations: 99.09 kB / 15.73 MB, free: 6.062 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.00157/0.00157, allocations: 201.5 kB / 16.68 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.513/2.513, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 63.91 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2528, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001876/0.2547, allocations: 0.9646 MB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.2564, allocations: 1.435 MB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.2565, allocations: 4 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.521e-05/0.2566, allocations: 15.75 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.2567, allocations: 51.56 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009545/0.2577, allocations: 450.2 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005122/0.2582, allocations: 0.5147 MB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2583, allocations: 45.62 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.2585, allocations: 183.5 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.2588, allocations: 163.4 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-05/0.2589, allocations: 48 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.259, allocations: 63.98 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.259, allocations: 35.86 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.2592, allocations: 167.4 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.2597, allocations: 0.4946 MB / 1.225 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2597, allocations: 3.984 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2597, allocations: 0 / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2597, allocations: 0 / 1.225 GB, free: 9.672 MB / 0.9825 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.0007351/0.2604, allocations: 0.63 MB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2605, allocations: 12.03 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.2605, allocations: 42.67 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.2606, allocations: 32.8 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.2608, allocations: 219.2 kB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.2608, allocations: 16.36 kB / 1.226 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.2609, allocations: 28.31 kB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.2611, allocations: 125.5 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2611, allocations: 3.938 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2611, allocations: 4 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2611, allocations: 0 / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2612, allocations: 59.91 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008476/0.2621, allocations: 0.8796 MB / 1.227 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.2622, allocations: 118.5 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/0.2623, allocations: 55.42 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.2623, allocations: 0 / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.2626, allocations: 180.9 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.875e-06/0.2626, allocations: 3.938 kB / 1.227 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004066/0.263, allocations: 229.3 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.2631, allocations: 140.5 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.2633, allocations: 236.9 kB / 1.228 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.2634, allocations: 41.7 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2635, allocations: 132.5 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.2635, allocations: 31.73 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.2637, allocations: 93.66 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2638, allocations: 330.8 kB / 1.228 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.2641, allocations: 148.2 kB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.2644, allocations: 223.4 kB / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.2648, allocations: 364.9 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2648, allocations: 7.938 kB / 1.229 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008497/0.2657, allocations: 0.5507 MB / 1.229 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.062e-05/0.2658, allocations: 138.8 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2658, allocations: 4 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2658, allocations: 4 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.2659, allocations: 15.92 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2659, allocations: 4 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/0.2665, allocations: 119.9 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.2665, allocations: 27.98 kB / 1.23 GB, free: 3.98 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.0001329/0.2667, allocations: 145.8 kB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.2667, allocations: 19.91 kB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.2668, allocations: 25.23 kB / 1.23 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2668, allocations: 4 kB / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2668, allocations: 0 / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2668, allocations: 3.938 kB / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.267, allocations: 261.5 kB / 1.23 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.267, allocations: 0 / 1.23 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.2671, allocations: 15.98 kB / 1.23 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2671, allocations: 4 kB / 1.23 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2671, allocations: 4 kB / 1.23 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2671, allocations: 4 kB / 1.23 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2671, allocations: 7.938 kB / 1.23 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.2674, allocations: 216.4 kB / 1.23 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.2675, allocations: 92.97 kB / 1.231 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.2675, allocations: 11.98 kB / 1.231 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.436e-05/0.2675, allocations: 0 / 1.231 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.2676, allocations: 23.92 kB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.2676, allocations: 8 kB / 1.231 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001364/0.2677, allocations: 168.5 kB / 1.231 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2677, allocations: 3.938 kB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002883/0.268, allocations: 75.83 kB / 1.231 GB, free: 2.801 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.0005607/0.2686, allocations: 0.7717 MB / 1.232 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006419/0.2693, allocations: 0.5209 MB / 1.232 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2693, allocations: 4.438 kB / 1.232 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.2694, allocations: 75.91 kB / 1.232 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.2697, allocations: 56.31 kB / 1.232 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.2732, allocations: 3.019 MB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.2735, allocations: 0.732 MB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.473e-05/0.2736, allocations: 17.55 kB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/0.2737, allocations: 59.34 kB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.2737, allocations: 4 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.549/3.822, allocations: 6.409 MB / 1.242 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.09/25.91, allocations: 3.938 kB / 1.242 GB, free: 6.992 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches