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.00132/0.00132, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001422/0.001421, allocations: 194.2 kB / 16.14 MB, free: 6.645 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.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.314/2.314, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5324, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001541/0.534, allocations: 0.7895 MB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.5351, allocations: 1.144 MB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.5351, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.5351, allocations: 3.938 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.115e-05/0.5352, allocations: 7.938 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.5355, allocations: 119.5 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.527e-05/0.5356, allocations: 111.8 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.535e-05/0.5356, allocations: 8 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.5357, allocations: 43.84 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.818e-05/0.5357, allocations: 31.89 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.5358, allocations: 4 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.615e-05/0.5358, allocations: 23.92 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.5358, allocations: 3.938 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.5359, allocations: 35.84 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.536, allocations: 129.9 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.536, allocations: 4 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of FrontEnd: time 5.01e-07/0.536, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.536, allocations: 0 / 1.019 GB, free: 328 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.000328/0.5364, allocations: 389 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.453e-05/0.5364, allocations: 12.03 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.82e-05/0.5364, allocations: 42.72 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.5365, allocations: 8.844 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.213e-05/0.5366, allocations: 176.2 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.5366, allocations: 8.312 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.5366, allocations: 16.31 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.901e-05/0.5367, allocations: 46.25 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-06/0.5367, allocations: 3.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.5367, allocations: 3.984 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.5367, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.038e-05/0.5367, allocations: 8 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.5371, allocations: 328.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.5371, allocations: 34.52 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.5372, allocations: 16.91 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-06/0.5372, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.5373, allocations: 59.39 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.5373, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001435/0.5374, allocations: 77.53 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.5375, allocations: 55.41 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.5376, allocations: 129.8 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.5376, allocations: 25.7 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.5376, allocations: 92.05 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/0.5377, allocations: 11.91 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.5377, allocations: 33.69 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5378, allocations: 318.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.5379, allocations: 35.98 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.538, allocations: 62.55 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.5381, allocations: 88.22 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5381, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002423/0.5384, allocations: 159.3 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.5384, allocations: 37.7 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.5384, allocations: 3.938 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.5384, allocations: 8.062 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.816e-05/0.5385, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.5385, allocations: 4 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.5387, allocations: 35.8 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.5387, allocations: 4 kB / 1.021 GB, free: 13.75 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 7.012e-05/0.5388, allocations: 126.2 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.5388, allocations: 4 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.5388, allocations: 15.89 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5388, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.5388, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.5388, allocations: 240 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.859e-05/0.5389, allocations: 173.6 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.539, allocations: 4.062 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.555e-05/0.539, allocations: 7.984 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.539, allocations: 3.984 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.539, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.539, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.539, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.5391, allocations: 96.97 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.5391, allocations: 85 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.5392, allocations: 8 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.783e-05/0.5392, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.5392, allocations: 3.938 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.5392, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.5393, allocations: 99.27 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5393, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001905/0.5395, allocations: 16 kB / 1.022 GB, free: 13.01 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.0003435/0.5399, allocations: 0.6241 MB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.5401, allocations: 139.3 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5401, allocations: 128 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.5401, allocations: 20 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.5403, allocations: 18.41 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.5416, allocations: 1.507 MB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.5419, allocations: 0.6887 MB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.5419, allocations: 0 / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.5419, allocations: 19.42 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5419, allocations: 0 / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00936/0.5513, allocations: 2.177 MB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.5515, allocations: 210.2 kB / 1.027 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.035, allocations: 0.7031 kB / 1.027 GB, free: 7.512 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