Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00429/0.00429, allocations: 98.3 kB / 15.73 MB, free: 6.059 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.001179/0.001179, allocations: 198 kB / 16.68 MB, free: 5.977 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.623/2.623, allocations: 469.8 MB / 0.7425 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 67.89 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2761, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001625/0.2777, allocations: 0.7223 MB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.279, allocations: 1.135 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.2791, allocations: 3.938 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.2791, allocations: 3.938 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.277e-05/0.2792, allocations: 11.92 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.2796, allocations: 131.5 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.2797, allocations: 135.8 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.076e-05/0.2798, allocations: 8 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.2799, allocations: 47.84 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.28, allocations: 43.81 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.28, allocations: 12 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.708e-05/0.2801, allocations: 27.98 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.2801, allocations: 8 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.2802, allocations: 35.86 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.2804, allocations: 135.6 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2804, allocations: 11.94 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2804, allocations: 0 / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2804, allocations: 0 / 1.223 GB, free: 11.76 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.0004594/0.2809, allocations: 400.9 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.2809, allocations: 11.97 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.901e-05/0.2809, allocations: 30.75 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.281, allocations: 4.938 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2811, allocations: 184.3 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2811, allocations: 384 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.2811, allocations: 8.375 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.675e-05/0.2812, allocations: 50.23 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2812, allocations: 3.938 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.2813, allocations: 0 / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.2813, allocations: 0 / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.115e-05/0.2813, allocations: 19.92 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.2817, allocations: 328.8 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.2818, allocations: 26.58 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.2818, allocations: 16.92 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-06/0.2818, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.2819, allocations: 67.33 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2819, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001689/0.2821, allocations: 73.67 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.2821, allocations: 55.41 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.2823, allocations: 129.7 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.2823, allocations: 33.7 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.2824, allocations: 92.12 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.2824, allocations: 11.83 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.2824, allocations: 29.7 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2826, allocations: 326.8 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.2826, allocations: 35.92 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.2827, allocations: 54.56 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.2829, allocations: 92.27 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2829, allocations: 0 / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002654/0.2831, allocations: 167.2 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.2832, allocations: 45.62 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2832, allocations: 4.062 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-06/0.2832, allocations: 0 / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.791e-05/0.2833, allocations: 12 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2833, allocations: 0 / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.2834, allocations: 23.97 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.2835, allocations: 8 kB / 1.225 GB, free: 9.184 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.363e-05/0.2836, allocations: 125.8 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.2836, allocations: 3.953 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.2836, allocations: 7.906 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2836, allocations: 4 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2836, allocations: 0 / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2836, allocations: 0 / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.2838, allocations: 181.6 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2838, allocations: 0 / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.2838, allocations: 0 / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.2838, allocations: 0 / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.2838, allocations: 4 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.2838, allocations: 0 / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2838, allocations: 0 / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.2839, allocations: 105.2 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.284, allocations: 81.11 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.284, allocations: 0 / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.671e-05/0.284, allocations: 0 / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.284, allocations: 4 kB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.2841, allocations: 3.984 kB / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.072e-05/0.2841, allocations: 99.27 kB / 1.225 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2841, allocations: 0 / 1.225 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001974/0.2843, allocations: 19.95 kB / 1.225 GB, free: 8.453 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.0004357/0.2848, allocations: 0.6441 MB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.285, allocations: 131.4 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.285, allocations: 4 kB / 1.226 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.211e-05/0.285, allocations: 19.88 kB / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.2852, allocations: 24.09 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.2867, allocations: 1.49 MB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.287, allocations: 0.6885 MB / 1.228 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.848e-05/0.287, allocations: 4 kB / 1.228 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.287, allocations: 19.42 kB / 1.228 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.287, allocations: 0 / 1.228 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.902/2.189, allocations: 2.361 MB / 1.231 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/14.99, allocations: 13.42 kB / 1.231 GB, free: 3.02 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches