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.005038/0.005044, allocations: 99.56 kB / 15.73 MB, free: 6.039 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.001425/0.001425, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.482/2.482, allocations: 437.1 MB / 0.7106 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2769, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001802/0.2788, allocations: 0.7251 MB / 1.167 GB, free: 6.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2802, allocations: 1.136 MB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.2802, allocations: 0 / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.2803, allocations: 3.938 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.2804, allocations: 15.86 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.2808, allocations: 131.4 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.281, allocations: 127.8 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.379e-05/0.2811, allocations: 15.98 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.2811, allocations: 43.86 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.2812, allocations: 47.88 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.2813, allocations: 12 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.894e-05/0.2814, allocations: 27.92 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.2814, allocations: 11.98 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.455e-05/0.2814, allocations: 43.84 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.2816, allocations: 139.8 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2817, allocations: 0 / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2817, allocations: 0 / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.2817, allocations: 0 / 1.169 GB, free: 4.754 MB / 0.92 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.0004743/0.2821, allocations: 400.9 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2822, allocations: 8.031 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.2822, allocations: 38.75 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.2823, allocations: 8.891 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2824, allocations: 172.3 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.2824, allocations: 4.375 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.2825, allocations: 8.312 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.164e-05/0.2825, allocations: 46.25 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2826, allocations: 3.938 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.2826, allocations: 0 / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2826, allocations: 4 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.011e-05/0.2826, allocations: 15.98 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.283, allocations: 328.7 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.379e-05/0.2831, allocations: 34.5 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.2832, allocations: 12.92 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-06/0.2832, allocations: 0 / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.2833, allocations: 71.34 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2833, allocations: 0 / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001901/0.2835, allocations: 73.62 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.2836, allocations: 55.39 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.2837, allocations: 129.7 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.2837, allocations: 33.64 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.2838, allocations: 92.12 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.2838, allocations: 7.953 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.2839, allocations: 33.7 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.284, allocations: 322.8 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.2841, allocations: 35.97 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-05/0.2842, allocations: 58.55 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.2843, allocations: 100.3 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2843, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002728/0.2846, allocations: 163.2 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.2847, allocations: 37.7 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2847, allocations: 0 / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2847, allocations: 3.984 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.255e-05/0.2847, allocations: 4 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2848, allocations: 0 / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.2849, allocations: 28.03 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.285, allocations: 8 kB / 1.171 GB, free: 2.18 MB / 0.92 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.389e-05/0.2851, allocations: 120.4 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.2851, allocations: 15.88 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.2851, allocations: 7.906 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2851, allocations: 0 / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2851, allocations: 0 / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2851, allocations: 0 / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2853, allocations: 177.6 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2853, allocations: 4 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.2853, allocations: 4 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2853, allocations: 0 / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.2853, allocations: 0 / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2853, allocations: 0 / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2853, allocations: 0 / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.2854, allocations: 93.02 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.2855, allocations: 81.09 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2855, allocations: 3.938 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.2855, allocations: 4 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.2856, allocations: 8 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.2856, allocations: 7.938 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.245e-05/0.2856, allocations: 99.64 kB / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2857, allocations: 0 / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000203/0.2859, allocations: 27.88 kB / 1.172 GB, free: 1.438 MB / 0.92 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.0004302/0.2863, allocations: 0.6361 MB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.2865, allocations: 143.3 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2865, allocations: 0 / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.268e-05/0.2866, allocations: 12 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.2868, allocations: 11.98 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.2883, allocations: 1.497 MB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.2886, allocations: 0.6884 MB / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.2886, allocations: 4 kB / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.2887, allocations: 15.44 kB / 1.174 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.2887, allocations: 4 kB / 1.174 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.211/1.5, allocations: 2.355 MB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.81, allocations: 10.2 kB / 1.177 GB, free: 12.01 MB / 0.9356 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=400 --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