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.01055/0.01055, allocations: 103.3 kB / 15.74 MB, free: 6.004 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.002187/0.002187, allocations: 189.1 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 2.176/2.176, allocations: 222.9 MB / 240.4 MB, free: 15.16 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 3.647/3.647, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 59.91 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852/1.855, 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.003808/1.858, allocations: 0.9666 MB / 1.088 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002806/1.861, allocations: 1.423 MB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/1.861, allocations: 2.688 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.411e-05/1.862, allocations: 21.62 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002331/1.862, allocations: 47.38 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/1.864, allocations: 447.7 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009755/1.865, allocations: 0.518 MB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/1.865, allocations: 42.92 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/1.865, allocations: 186.5 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/1.866, allocations: 164 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/1.866, allocations: 48.88 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/1.866, allocations: 63.23 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/1.866, allocations: 37.88 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003107/1.866, allocations: 171.6 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/1.868, allocations: 496 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/1.868, allocations: 0.9375 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.385e-06/1.868, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.012e-05/1.868, 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.001251/1.869, allocations: 0.6367 MB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.166e-05/1.869, allocations: 10.12 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.083e-05/1.869, allocations: 43.7 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/1.869, allocations: 27.75 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/1.869, allocations: 220.7 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/1.87, allocations: 15.83 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/1.87, allocations: 27.27 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/1.87, allocations: 125.1 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/1.87, allocations: 0.8438 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/1.87, allocations: 2.484 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/1.87, allocations: 2.469 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/1.87, allocations: 56.58 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/1.872, allocations: 0.8769 MB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/1.872, allocations: 117.2 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/1.872, allocations: 54.45 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/1.872, allocations: 1.812 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004715/1.873, allocations: 179.3 kB / 1.094 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 3.727e-06/1.873, allocations: 0.875 kB / 1.094 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0008033/1.874, allocations: 229.4 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/1.874, allocations: 142.2 kB / 1.095 GB, free: 352 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/1.874, allocations: 235.4 kB / 1.095 GB, free: 200 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.46e-05/1.874, allocations: 38.5 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/1.874, allocations: 136 kB / 1.095 GB, free: 44 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/1.874, allocations: 35.08 kB / 1.095 GB, free: 16 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003475/1.875, allocations: 92.5 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.875, allocations: 331.3 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/1.876, allocations: 146.1 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/1.876, allocations: 225 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008052/1.877, allocations: 367.8 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.877, allocations: 0.9375 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001878/1.879, allocations: 0.5586 MB / 1.097 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/1.879, allocations: 137 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/1.879, allocations: 3 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.016e-05/1.879, allocations: 12.33 kB / 1.097 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/1.879, allocations: 15.94 kB / 1.097 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/1.879, allocations: 3.594 kB / 1.097 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/1.881, allocations: 107.8 kB / 1.097 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.881, allocations: 33.39 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.0003197/1.881, allocations: 144.7 kB / 1.097 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/1.881, allocations: 21.73 kB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.571e-05/1.881, allocations: 22.02 kB / 1.097 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/1.881, allocations: 5.938 kB / 1.097 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/1.881, allocations: 1.906 kB / 1.097 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/1.881, allocations: 2.547 kB / 1.097 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/1.882, allocations: 261 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.882, allocations: 1.5 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.988e-05/1.882, allocations: 9.562 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/1.882, allocations: 6.062 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/1.882, allocations: 7.875 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/1.882, allocations: 6.688 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/1.882, allocations: 3.938 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005943/1.883, allocations: 215.9 kB / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/1.883, allocations: 101.2 kB / 1.098 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/1.883, allocations: 3.516 kB / 1.098 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/1.883, allocations: 10.73 kB / 1.098 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/1.883, allocations: 15.39 kB / 1.098 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/1.883, allocations: 14.28 kB / 1.098 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003383/1.883, allocations: 165.2 kB / 1.098 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/1.883, allocations: 7.938 kB / 1.098 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006146/1.884, allocations: 69.19 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.001102/1.885, allocations: 0.7718 MB / 1.099 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001234/1.886, allocations: 0.5253 MB / 1.099 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.886, allocations: 0 / 1.099 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/1.887, allocations: 68.7 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.0006639/1.887, allocations: 59.86 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.008531/1.896, allocations: 3.012 MB / 1.102 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/1.896, allocations: 0.7304 MB / 1.103 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001637/1.897, allocations: 19.34 kB / 1.103 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/1.897, allocations: 59.44 kB / 1.103 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of SimCode: time 1.192e-06/1.897, allocations: 0 / 1.103 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04377/1.941, allocations: 6.392 MB / 1.109 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/14.17, allocations: 10.12 kB / 1.109 GB, free: 9.145 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