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.001151/0.001151, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 197.9 kB / 16.53 MB, free: 6.391 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.406/2.406, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 63.89 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6246/0.6269, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001929/0.6288, allocations: 0.7209 MB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.6302, allocations: 1.132 MB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.6302, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.6302, allocations: 3.938 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.6303, allocations: 15.86 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.6308, allocations: 130.2 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.6309, allocations: 127.8 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.631, allocations: 12 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.6311, allocations: 47.89 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.6312, allocations: 35.91 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.6312, allocations: 12 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.6313, allocations: 19.98 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.6313, allocations: 23.8 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.6314, allocations: 43.84 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.6316, allocations: 137.9 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6316, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6316, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.6316, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 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.0004911/0.6321, allocations: 397 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.6321, allocations: 8.031 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.6322, allocations: 30.75 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.6322, allocations: 12.84 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.6324, allocations: 176.2 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.6324, allocations: 12.3 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.6324, allocations: 8.375 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.761e-05/0.6325, allocations: 50.17 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.6325, allocations: 3.938 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.6325, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.6325, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.159e-05/0.6326, allocations: 16 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.633, allocations: 324.8 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.701e-05/0.6331, allocations: 38.5 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.6331, allocations: 8.922 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.6331, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.6333, allocations: 67.39 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.6333, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001936/0.6335, allocations: 77.53 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.6335, allocations: 55.41 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.6336, allocations: 129.8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.6336, allocations: 29.7 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.6337, allocations: 88.14 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.6337, allocations: 11.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.33e-05/0.6338, allocations: 29.7 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6339, allocations: 322.8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.634, allocations: 35.98 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.045e-05/0.6341, allocations: 62.53 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.6342, allocations: 96.27 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6342, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002732/0.6345, allocations: 163.3 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.6346, allocations: 33.7 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6346, allocations: 64 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.6346, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.6346, allocations: 7.984 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.6347, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.6349, allocations: 39.75 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.6349, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 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 8.784e-05/0.635, allocations: 125.7 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.635, allocations: 7.984 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.635, allocations: 7.906 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.635, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6351, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6351, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.6352, allocations: 181.6 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.6352, allocations: 3.938 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.6352, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.6352, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.6353, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.6353, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6353, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.6354, allocations: 101.2 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.6355, allocations: 85 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.6355, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.759e-05/0.6355, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.6355, allocations: 8 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.6355, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001191/0.6357, allocations: 99.27 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6357, allocations: 4 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002092/0.6359, allocations: 16 kB / 1.023 GB, free: 12.7 MB / 0.7794 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.0004667/0.6364, allocations: 0.6358 MB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.6366, allocations: 135.3 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6366, allocations: 4.125 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.6367, allocations: 12 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.6369, allocations: 19.92 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.6386, allocations: 1.499 MB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.6388, allocations: 0.6845 MB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.6388, allocations: 4 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.6389, allocations: 23.42 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6389, allocations: 0 / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.6569, allocations: 2.325 MB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/7.456, allocations: 12.05 kB / 1.028 GB, free: 7.281 MB / 0.7794 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