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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001168/0.001168, 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.001342/0.001342, allocations: 196.7 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.661/2.661, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 64.94 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2673, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002054/0.2694, allocations: 0.7185 MB / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2708, allocations: 1.137 MB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.2708, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.2709, allocations: 3.938 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.271, allocations: 11.86 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.2715, allocations: 137.9 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.2717, allocations: 127.8 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2718, allocations: 15.98 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.2719, allocations: 39.92 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.272, allocations: 43.83 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.2721, allocations: 12 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.2722, allocations: 27.91 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.2722, allocations: 8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.2723, allocations: 47.84 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.2725, allocations: 128 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2725, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2725, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.2725, allocations: 3.984 kB / 1.066 GB, free: 12.04 MB / 0.8262 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.0005574/0.2731, allocations: 393 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2731, allocations: 8.031 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.2732, allocations: 30.75 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.2732, allocations: 8.938 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.2734, allocations: 188.2 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.2734, allocations: 4.375 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.2734, allocations: 8.312 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.2736, allocations: 42.25 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2736, allocations: 3.938 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2736, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2736, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.319e-05/0.2737, allocations: 19.98 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.2742, allocations: 336.6 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.963e-05/0.2742, allocations: 34.52 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.2743, allocations: 8.922 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.2743, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.2745, allocations: 75.33 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.2745, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002165/0.2747, allocations: 81.61 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.2748, allocations: 51.41 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.2749, allocations: 129.8 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.2749, allocations: 29.7 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.275, allocations: 92.05 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.275, allocations: 3.906 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.2751, allocations: 29.7 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2752, allocations: 326.8 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.363e-05/0.2753, allocations: 39.98 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-05/0.2754, allocations: 50.56 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.2755, allocations: 92.2 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2755, allocations: 0 / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002704/0.2758, allocations: 167.2 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.2758, allocations: 41.75 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2759, allocations: 0 / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2759, allocations: 0 / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.2759, allocations: 7.938 kB / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2759, allocations: 0 / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.2761, allocations: 27.97 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.2762, allocations: 7.984 kB / 1.068 GB, free: 9.465 MB / 0.8262 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.469e-05/0.2763, allocations: 129.7 kB / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.2763, allocations: 7.906 kB / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.2763, allocations: 3.906 kB / 1.068 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2763, allocations: 0 / 1.068 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2763, allocations: 0 / 1.068 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2763, allocations: 3.984 kB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.2765, allocations: 177.6 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2765, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.517e-05/0.2765, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2765, allocations: 4 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.2765, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2765, allocations: 4.062 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2765, allocations: 7.984 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.2767, allocations: 89.06 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.2767, allocations: 84.95 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.2767, allocations: 0 / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.845e-05/0.2768, allocations: 0 / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.2768, allocations: 11.92 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.2768, allocations: 0 / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.2768, allocations: 103.3 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2769, allocations: 0 / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002117/0.2771, allocations: 23.94 kB / 1.069 GB, free: 8.727 MB / 0.8262 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.0004644/0.2775, allocations: 0.6366 MB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.2778, allocations: 143.3 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2778, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.2779, allocations: 15.98 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.2781, allocations: 15.98 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.2798, allocations: 1.487 MB / 1.071 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.2801, allocations: 0.6846 MB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.2801, allocations: 4 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.2802, allocations: 19.44 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.2802, allocations: 0 / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.298, allocations: 2.335 MB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.317, allocations: 16.03 kB / 1.074 GB, free: 3.328 MB / 0.8262 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