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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008462/0.0008463, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004875/0.004875, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 8 kB / 0.873 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5779/0.5782, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.0008334/0.579, allocations: 457.5 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.5803, allocations: 1.128 MB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.5804, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.5804, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.298e-05/0.5805, allocations: 11.86 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.5809, allocations: 119.4 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.581, allocations: 111.7 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.142e-05/0.5811, allocations: 15.97 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.294e-05/0.5812, allocations: 35.91 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.5813, allocations: 31.89 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.5813, allocations: 8 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.5814, allocations: 16 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.5814, allocations: 7.922 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.5815, allocations: 65.48 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.5816, allocations: 125.9 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5816, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5816, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.5816, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 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.0003864/0.582, allocations: 377.1 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5821, allocations: 8.031 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.5821, allocations: 38.73 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.5822, allocations: 12.84 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.5823, allocations: 176.3 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.5823, allocations: 4.375 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.5823, allocations: 8.312 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.199e-05/0.5824, allocations: 42.25 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5824, allocations: 7.922 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.5824, allocations: 0 / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.5824, allocations: 3.938 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.036e-05/0.5825, allocations: 16 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.5829, allocations: 328.7 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.733e-05/0.5829, allocations: 30.58 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.583, allocations: 12.91 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.583, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.5831, allocations: 75.33 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5831, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001787/0.5833, allocations: 73.59 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.5833, allocations: 51.41 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.5834, allocations: 125.8 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.5835, allocations: 29.7 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.5835, allocations: 92.08 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.5835, allocations: 7.891 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.5836, allocations: 25.7 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.5837, allocations: 322.8 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.5838, allocations: 31.98 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.811e-05/0.5839, allocations: 58.55 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.584, allocations: 88.27 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.584, allocations: 7.938 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002457/0.5842, allocations: 163.2 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.5843, allocations: 37.7 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5843, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.5843, allocations: 64 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.026e-05/0.5844, allocations: 11.98 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.5844, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.5846, allocations: 43.97 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.5846, allocations: 4 kB / 1.027 GB, free: 11.16 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.586e-05/0.5847, allocations: 122.3 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.5847, allocations: 12.08 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/0.5847, allocations: 7.906 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5848, allocations: 3.984 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5848, allocations: 7.938 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5848, allocations: 4 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.5849, allocations: 173.6 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5849, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.5849, allocations: 4 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.5849, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5849, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.5849, allocations: 3.938 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.585, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.5851, allocations: 97.05 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.5851, allocations: 81.02 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.5851, allocations: 4 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.5852, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.5852, allocations: 4 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.5852, allocations: 4 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.5852, allocations: 91.27 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5853, allocations: 4 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002074/0.5855, allocations: 23.98 kB / 1.028 GB, free: 10.43 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.0003696/0.5858, allocations: 0.6338 MB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.5861, allocations: 135.4 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5861, allocations: 0 / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/0.5861, allocations: 15.94 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.5863, allocations: 18.78 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.5877, allocations: 1.497 MB / 1.03 GB, free: 8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.5879, allocations: 0.6887 MB / 1.031 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.274e-05/0.5879, allocations: 4 kB / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.588, allocations: 19.44 kB / 1.031 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.588, allocations: 0 / 1.031 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.621, allocations: 2.119 MB / 1.033 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.6212, allocations: 210.6 kB / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.202, allocations: 0 / 1.033 GB, free: 5.031 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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