Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.009289/0.009289, allocations: 98.2 kB / 15.73 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.002/0.002, allocations: 197.2 kB / 16.67 MB, free: 5.922 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.745/2.745, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3317, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001902/0.3337, allocations: 0.716 MB / 1.167 GB, free: 6.559 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3352, allocations: 1.14 MB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.3353, allocations: 3.938 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.3353, allocations: 0 / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.982e-05/0.3354, allocations: 15.88 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.336, allocations: 129.3 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.3362, allocations: 143.7 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.3363, allocations: 8 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.792e-05/0.3364, allocations: 51.84 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.3365, allocations: 43.88 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.3365, allocations: 12 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.991e-05/0.3366, allocations: 27.98 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.3367, allocations: 8 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.3367, allocations: 43.84 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.337, allocations: 135.8 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.337, allocations: 4 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/0.337, allocations: 0 / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.337, allocations: 0 / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005549/0.3376, allocations: 392.9 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3376, allocations: 16.69 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.3376, allocations: 34.73 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.3377, allocations: 12.89 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3379, allocations: 172.3 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.3379, allocations: 4.375 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3379, allocations: 4.375 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.338, allocations: 46.25 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.338, allocations: 3.938 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3381, allocations: 3.984 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3381, allocations: 0 / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.3381, allocations: 16 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.3386, allocations: 332.7 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.352e-05/0.3387, allocations: 26.58 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.3387, allocations: 16.91 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.3387, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.3389, allocations: 71.28 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 2.986e-06/0.3389, allocations: 4 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002074/0.3391, allocations: 69.62 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.3391, allocations: 55.41 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3393, allocations: 133.7 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3393, allocations: 29.7 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.3393, allocations: 88.14 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.3394, allocations: 7.953 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.3394, allocations: 37.69 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3395, allocations: 318.8 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/0.3396, allocations: 35.98 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.653e-05/0.3397, allocations: 66.48 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.3399, allocations: 88.22 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3399, allocations: 4 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002661/0.3402, allocations: 171.2 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.3402, allocations: 37.7 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3402, allocations: 240 / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3402, allocations: 0 / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.583e-05/0.3403, allocations: 7.938 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3403, allocations: 0 / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.3405, allocations: 23.97 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.3405, allocations: 16.11 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 9.533e-05/0.3406, allocations: 121.8 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.3406, allocations: 3.953 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.3407, allocations: 11.91 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3407, allocations: 0 / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.3407, allocations: 3.984 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3407, allocations: 0 / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.3409, allocations: 173.6 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3409, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.3409, allocations: 4 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3409, allocations: 0 / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3409, allocations: 7.984 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3409, allocations: 3.984 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3409, allocations: 0 / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.3411, allocations: 96.89 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.3411, allocations: 81.11 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3411, allocations: 4.062 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.179e-05/0.3412, allocations: 7.984 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.3412, allocations: 8 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.3412, allocations: 0 / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.498e-05/0.3413, allocations: 95.27 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3413, allocations: 0 / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002202/0.3415, allocations: 23.94 kB / 1.171 GB, free: 1.473 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004437/0.342, allocations: 0.6358 MB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.3422, allocations: 135.4 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3422, allocations: 0 / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.3423, allocations: 19.92 kB / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.3425, allocations: 15.92 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.3441, allocations: 1.489 MB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.3443, allocations: 0.6884 MB / 1.174 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.095e-05/0.3444, allocations: 3.984 kB / 1.174 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.3444, allocations: 19.44 kB / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.3444, allocations: 0 / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.3629, allocations: 2.355 MB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.992, allocations: 0 / 1.177 GB, free: 12.06 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches