Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_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_latest_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.0014/0.0014, allocations: 112.5 kB / 15.73 MB, free: 76 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.001731/0.001731, allocations: 191.2 kB / 16.66 MB, free: 6.582 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.869/2.869, allocations: 469.4 MB / 0.7421 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 64.12 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3148, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002069/0.3169, allocations: 0.7223 MB / 1.22 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.3184, allocations: 1.127 MB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.3185, allocations: 0 / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.3186, allocations: 3.938 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.988e-05/0.3187, allocations: 15.88 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.3192, allocations: 142.9 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.3194, allocations: 131.8 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.3195, allocations: 11.98 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.654e-05/0.3196, allocations: 39.92 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.3198, allocations: 39.88 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.3198, allocations: 16 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.3199, allocations: 27.98 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.3199, allocations: 15.86 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.424e-05/0.32, allocations: 39.86 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.3202, allocations: 131.6 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3202, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3202, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3203, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 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.0005487/0.3208, allocations: 400.9 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.3209, allocations: 12.03 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.3209, allocations: 34.75 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.321, allocations: 8.938 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3211, allocations: 184.2 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.3211, allocations: 4.375 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.3212, allocations: 12.36 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.3213, allocations: 42.19 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3213, allocations: 7.938 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.3213, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3213, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.3214, allocations: 12 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.3218, allocations: 340.7 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.29e-05/0.3219, allocations: 30.52 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.3219, allocations: 16.91 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.3219, allocations: 0 / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.3221, allocations: 67.39 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3221, allocations: 0 / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002122/0.3223, allocations: 73.62 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3224, allocations: 55.41 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3225, allocations: 129.7 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.3225, allocations: 33.7 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.3226, allocations: 84.14 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.3226, allocations: 15.88 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.3227, allocations: 29.7 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3228, allocations: 322.8 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.113e-05/0.3229, allocations: 35.98 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.374e-05/0.323, allocations: 58.55 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.3231, allocations: 92.2 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3231, allocations: 0 / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002737/0.3234, allocations: 163.2 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.3235, allocations: 37.7 kB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3235, allocations: 4 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3235, allocations: 0 / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.3236, allocations: 11.92 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3236, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3238, allocations: 23.97 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.3238, allocations: 8 kB / 1.224 GB, free: 9.551 MB / 0.9825 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.537e-05/0.3239, allocations: 126.4 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.3239, allocations: 3.953 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.324, allocations: 11.89 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.324, allocations: 0 / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.324, allocations: 64 / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.324, allocations: 4 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.3242, allocations: 173.6 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3242, allocations: 7.938 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.3242, allocations: 7.984 kB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3242, allocations: 4 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3242, allocations: 0 / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3242, allocations: 4 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3242, allocations: 3.938 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.3244, allocations: 85.02 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.3244, allocations: 85.11 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.3244, allocations: 3.984 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.3245, allocations: 0 / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.3245, allocations: 4 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.3245, allocations: 4 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.435e-05/0.3246, allocations: 99.27 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3246, allocations: 0 / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002254/0.3248, allocations: 19.95 kB / 1.225 GB, free: 8.812 MB / 0.9825 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.0004576/0.3253, allocations: 0.6399 MB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.3255, allocations: 143.3 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3255, allocations: 0 / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.3256, allocations: 16 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.3258, allocations: 15.98 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.3274, allocations: 1.495 MB / 1.227 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.3277, allocations: 0.6807 MB / 1.228 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.3277, allocations: 7.984 kB / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.3278, allocations: 19.44 kB / 1.228 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3278, allocations: 0 / 1.228 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.3482, allocations: 2.363 MB / 1.23 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/7.981, allocations: 7.062 kB / 1.23 GB, free: 3.395 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches