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.00112/0.00112, 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.001163/0.001163, allocations: 197 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.38 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.267, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002034/0.2691, allocations: 0.7281 MB / 1.054 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.2706, allocations: 1.135 MB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.2707, allocations: 3.938 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.2707, allocations: 3.938 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.537e-05/0.2708, allocations: 15.91 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.2713, allocations: 134.8 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.2715, allocations: 131.8 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.2716, allocations: 11.98 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9e-05/0.2717, allocations: 51.84 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.2718, allocations: 39.77 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.2718, allocations: 12 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.2719, allocations: 27.98 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.2719, allocations: 4 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.272, allocations: 47.84 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.2722, allocations: 128 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2722, allocations: 0 / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2722, allocations: 0 / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.2722, allocations: 0 / 1.055 GB, free: 5.793 MB / 0.8106 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.0004877/0.2727, allocations: 405.9 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2728, allocations: 8.625 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.2728, allocations: 34.75 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.2729, allocations: 4.938 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.273, allocations: 180.2 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.273, allocations: 8.375 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.273, allocations: 4.375 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.5e-05/0.2731, allocations: 42.25 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2731, allocations: 3.938 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.2732, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2732, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.943e-05/0.2732, allocations: 19.92 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.2736, allocations: 336.7 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.833e-05/0.2737, allocations: 22.58 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.2737, allocations: 16.92 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.2738, allocations: 0 / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.2739, allocations: 75.23 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2739, allocations: 0 / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002113/0.2741, allocations: 73.67 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.2742, allocations: 55.41 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2743, allocations: 121.8 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.2743, allocations: 29.7 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.2744, allocations: 96.03 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.2744, allocations: 7.906 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.2745, allocations: 29.7 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2746, allocations: 322.8 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.2747, allocations: 39.98 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.881e-05/0.2748, allocations: 58.5 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.2749, allocations: 92.25 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.2749, allocations: 0 / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002618/0.2752, allocations: 155.5 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.2752, allocations: 41.75 kB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2752, allocations: 4 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2753, allocations: 11.97 kB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.2753, allocations: 3.938 kB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2753, allocations: 3.938 kB / 1.058 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.2755, allocations: 31.88 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2756, allocations: 11.98 kB / 1.058 GB, free: 3.211 MB / 0.8106 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.784e-05/0.2756, allocations: 117.8 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.2757, allocations: 8 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.2757, allocations: 3.906 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2757, allocations: 0 / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2757, allocations: 0 / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2757, allocations: 4 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.2758, allocations: 177.6 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2759, allocations: 0 / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.2759, allocations: 4 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2759, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.2759, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2759, allocations: 4 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2759, allocations: 64 / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.276, allocations: 104.9 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.2761, allocations: 81.02 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.2761, allocations: 0 / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.2761, allocations: 4 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.2761, allocations: 3.984 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2761, allocations: 0 / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.992e-05/0.2762, allocations: 103.3 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2762, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000212/0.2764, allocations: 27.94 kB / 1.058 GB, free: 2.48 MB / 0.8106 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.0003963/0.2768, allocations: 0.6281 MB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.2771, allocations: 139.4 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2771, allocations: 0 / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.258e-05/0.2771, allocations: 15.94 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.2773, allocations: 21.33 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.2788, allocations: 1.496 MB / 1.06 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.2791, allocations: 0.6846 MB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.2791, allocations: 4 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.2791, allocations: 19.44 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2791, allocations: 0 / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.2948, allocations: 2.326 MB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.72, allocations: 19.81 kB / 1.063 GB, free: 13.08 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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