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.001262/0.001263, allocations: 108 kB / 15.61 MB, free: 152 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.001387/0.001387, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.584/2.584, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.89 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.6729, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001811/0.6748, allocations: 0.7192 MB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.676, allocations: 1.132 MB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.676, allocations: 4 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.6761, allocations: 3.938 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.512e-05/0.6761, allocations: 19.86 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.6766, allocations: 131.3 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.6767, allocations: 127.8 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.325e-05/0.6768, allocations: 19.97 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.6769, allocations: 43.92 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.677, allocations: 35.89 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.677, allocations: 12 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-05/0.6771, allocations: 35.91 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.6771, allocations: 3.938 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.6772, allocations: 43.84 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.6774, allocations: 130 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6774, allocations: 3.938 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6774, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.6774, allocations: 0 / 1.02 GB, free: 15.98 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.0004293/0.6778, allocations: 401 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.6779, allocations: 8.031 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.6779, allocations: 34.75 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.678, allocations: 8.844 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.6781, allocations: 180.2 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.6781, allocations: 8.312 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.6781, allocations: 8.312 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.46e-05/0.6782, allocations: 46.25 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6782, allocations: 3.938 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.6783, allocations: 4 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6783, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.6783, allocations: 15.98 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.6787, allocations: 332.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.457e-05/0.6788, allocations: 26.52 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.6788, allocations: 12.92 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.6788, allocations: 8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.6789, allocations: 59.39 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.679, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001826/0.6791, allocations: 81.52 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.6792, allocations: 51.41 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.6793, allocations: 125.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.6793, allocations: 25.7 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.6794, allocations: 96.12 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.6794, allocations: 7.812 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.6795, allocations: 33.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.6796, allocations: 322.8 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.287e-05/0.6797, allocations: 35.98 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.6798, allocations: 54.56 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.6799, allocations: 96.2 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6799, allocations: 4.062 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002684/0.6802, allocations: 159.3 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.6802, allocations: 43.41 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.6802, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.6802, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.106e-05/0.6803, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.6803, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.6805, allocations: 35.88 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.6805, allocations: 15.92 kB / 1.022 GB, free: 13.4 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 0.0001008/0.6806, allocations: 121.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.6807, allocations: 7.938 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.6807, allocations: 7.906 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.6807, allocations: 240 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6807, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6807, allocations: 8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.6808, allocations: 177.6 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6808, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.727e-05/0.6809, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6809, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.6809, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6809, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6809, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.681, allocations: 96.95 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.6811, allocations: 85.02 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.6811, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.6811, allocations: 4 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.6811, allocations: 7.922 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.6811, allocations: 4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.6812, allocations: 95.27 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6812, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002172/0.6814, allocations: 20 kB / 1.023 GB, free: 12.67 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.0003807/0.6818, allocations: 0.6281 MB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.682, allocations: 139.3 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6821, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.6821, allocations: 19.97 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.6823, allocations: 12.12 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.6838, allocations: 1.499 MB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.684, allocations: 0.6903 MB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.684, allocations: 7.938 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.6841, allocations: 19.44 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.6841, allocations: 0 / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.7009, allocations: 2.333 MB / 1.028 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/8.244, allocations: 10.97 kB / 1.028 GB, free: 7.246 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