Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009149/0.009149, allocations: 101.1 kB / 15.73 MB, free: 6.012 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.001389/0.001389, allocations: 187 kB / 16.67 MB, free: 5.949 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001453, allocations: 63.8 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2964, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002416/0.2989, allocations: 0.9579 MB / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.3009, allocations: 1.434 MB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.3011, allocations: 4 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.314e-05/0.3012, allocations: 19.73 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.3014, allocations: 47.58 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.3026, allocations: 447.5 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006608/0.3032, allocations: 0.5186 MB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.3034, allocations: 45.66 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/0.3037, allocations: 179.6 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.304, allocations: 171.3 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3041, allocations: 52 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.3043, allocations: 59.98 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.3044, allocations: 39.84 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.3046, allocations: 167.4 kB / 1.092 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000607/0.3052, allocations: 0.4905 MB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3052, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3052, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.3052, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 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.000989/0.3062, allocations: 0.6262 MB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3063, allocations: 12.03 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.3063, allocations: 42.73 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/0.3064, allocations: 28.75 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3067, allocations: 230.9 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.3067, allocations: 16.38 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.3068, allocations: 20.12 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.307, allocations: 124.1 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.307, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.307, allocations: 8 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.307, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3072, allocations: 59.91 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009626/0.3081, allocations: 0.8717 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.3083, allocations: 118.4 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.453e-05/0.3084, allocations: 51.48 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.3084, allocations: 4 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.3087, allocations: 178.5 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3087, allocations: 0 / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004749/0.3091, allocations: 237.9 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.3092, allocations: 132.5 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.3095, allocations: 236.9 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.3095, allocations: 41.7 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.3097, allocations: 128.4 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.3097, allocations: 31.61 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.3099, allocations: 93.64 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.31, allocations: 334.8 kB / 1.095 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.3104, allocations: 144.2 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.3107, allocations: 226.6 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.3111, allocations: 364.9 kB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3111, allocations: 4 kB / 1.096 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008797/0.312, allocations: 0.5545 MB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.449e-05/0.3121, allocations: 134.8 kB / 1.097 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3121, allocations: 4 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3122, allocations: 11.88 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-05/0.3123, allocations: 12.23 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3123, allocations: 11.94 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006089/0.3129, allocations: 107.7 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.313, allocations: 31.97 kB / 1.097 GB, free: 7.703 MB / 0.8575 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.000153/0.3131, allocations: 150 kB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.3132, allocations: 31.7 kB / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.3132, allocations: 17.23 kB / 1.097 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.3132, allocations: 7.938 kB / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3132, allocations: 0 / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3132, allocations: 0 / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.3135, allocations: 257.5 kB / 1.097 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3135, allocations: 0 / 1.097 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.3135, allocations: 19.98 kB / 1.097 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3135, allocations: 4 kB / 1.097 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3135, allocations: 0 / 1.097 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3136, allocations: 7.938 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3136, allocations: 0 / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.3138, allocations: 219.3 kB / 1.098 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.3139, allocations: 100.8 kB / 1.098 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.3139, allocations: 4 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.314, allocations: 7.938 kB / 1.098 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.314, allocations: 11.98 kB / 1.098 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.3141, allocations: 19.98 kB / 1.098 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001321/0.3142, allocations: 160.5 kB / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3142, allocations: 0 / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003269/0.3145, allocations: 71.98 kB / 1.098 GB, free: 6.527 MB / 0.8575 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.0005937/0.3151, allocations: 0.7669 MB / 1.099 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006714/0.3158, allocations: 0.5349 MB / 1.099 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3158, allocations: 0 / 1.099 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.3159, allocations: 67.92 kB / 1.099 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.3164, allocations: 70.34 kB / 1.099 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.3201, allocations: 3.006 MB / 1.102 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3204, allocations: 0.7281 MB / 1.103 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.824e-05/0.3205, allocations: 21.55 kB / 1.103 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.3205, allocations: 63.41 kB / 1.103 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.3205, allocations: 0 / 1.103 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.3491, allocations: 6.551 MB / 1.11 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.215, allocations: 6.172 kB / 1.11 GB, free: 10.57 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches