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.008577/0.008577, allocations: 100.2 kB / 15.73 MB, free: 6.008 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.001826/0.001826, allocations: 193 kB / 16.67 MB, free: 5.93 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.227/2.227, allocations: 390.3 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8114, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00227/0.8137, allocations: 0.9655 MB / 1.088 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.8158, allocations: 1.423 MB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.8159, allocations: 6.156 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.025e-05/0.816, allocations: 17.62 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.8162, allocations: 51.66 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.8176, allocations: 443.5 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007848/0.8184, allocations: 0.5187 MB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.8186, allocations: 39.08 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.8188, allocations: 185.4 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.8192, allocations: 171.5 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.8193, allocations: 49.75 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.8195, allocations: 62.66 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.8195, allocations: 33.98 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.8198, allocations: 167.6 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006571/0.8204, allocations: 0.4923 MB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.8204, allocations: 0.9688 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8204, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.8205, allocations: 0 / 1.092 GB, free: 2.582 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.000775/0.8212, allocations: 0.6383 MB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.8213, allocations: 10.55 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.8213, allocations: 39.25 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.373e-05/0.8214, allocations: 27.73 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.8216, allocations: 220.5 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.8216, allocations: 19.61 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.8217, allocations: 27.64 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.8219, allocations: 121.4 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.8219, allocations: 0 / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.822, allocations: 7.094 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.822, allocations: 1.906 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.8221, allocations: 52.62 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.8232, allocations: 0.8776 MB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.8234, allocations: 116.2 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.406e-05/0.8235, allocations: 59.08 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.8235, allocations: 5.5 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004123/0.8239, allocations: 182.9 kB / 1.094 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.8239, allocations: 0 / 1.094 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0005374/0.8244, allocations: 227.5 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.8245, allocations: 136.9 kB / 1.095 GB, free: 356 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.8248, allocations: 239.7 kB / 1.095 GB, free: 200 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.8248, allocations: 38 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.825, allocations: 132.2 kB / 1.095 GB, free: 48 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.825, allocations: 35.12 kB / 1.095 GB, free: 20 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.8252, allocations: 97.55 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8254, allocations: 330.1 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.8257, allocations: 145.5 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.8261, allocations: 223.7 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.8266, allocations: 368.2 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.8266, allocations: 1.438 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001092/0.8277, allocations: 0.5498 MB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.8278, allocations: 138.2 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.8278, allocations: 3.25 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.8278, allocations: 11.5 kB / 1.097 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.8279, allocations: 18.59 kB / 1.097 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.828, allocations: 8.969 kB / 1.097 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/0.8287, allocations: 104 kB / 1.097 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/0.8287, allocations: 32.33 kB / 1.097 GB, free: 14.64 MB / 0.8731 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.0001791/0.8289, allocations: 148.7 kB / 1.097 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.829, allocations: 23 kB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.829, allocations: 21.11 kB / 1.097 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.829, allocations: 6.719 kB / 1.097 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8291, allocations: 1.375 kB / 1.097 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.8291, allocations: 2.594 kB / 1.097 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.8294, allocations: 261 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8294, allocations: 1.219 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.8294, allocations: 9.125 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.8295, allocations: 2.609 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.8295, allocations: 7.719 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.166e-06/0.8295, allocations: 10.22 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.8295, allocations: 0.9062 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.8298, allocations: 217 kB / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.8299, allocations: 96.69 kB / 1.098 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.83, allocations: 3.359 kB / 1.098 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.556e-05/0.83, allocations: 11.06 kB / 1.098 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.8301, allocations: 15.38 kB / 1.098 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.8301, allocations: 19.27 kB / 1.098 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001677/0.8303, allocations: 168.7 kB / 1.098 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8303, allocations: 4.781 kB / 1.098 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003839/0.8307, allocations: 68.53 kB / 1.098 GB, free: 13.86 MB / 0.8731 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.0006312/0.8313, allocations: 0.7707 MB / 1.099 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007656/0.8321, allocations: 0.5256 MB / 1.099 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8321, allocations: 0 / 1.099 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.8322, allocations: 64.81 kB / 1.099 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.8327, allocations: 61.36 kB / 1.099 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.8369, allocations: 3.011 MB / 1.102 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.8372, allocations: 0.7298 MB / 1.103 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.407e-05/0.8373, allocations: 18.66 kB / 1.103 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.8374, allocations: 60.59 kB / 1.103 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.8374, allocations: 0 / 1.103 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.8671, allocations: 6.396 MB / 1.109 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.949, allocations: 1.125 kB / 1.109 GB, free: 9.152 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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