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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 114 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.766/2.766, allocations: 476.7 MB / 0.7629 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 67.91 kB / 1.107 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9559/0.9581, allocations: 168.7 MB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002084/0.9602, allocations: 0.7461 MB / 1.272 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.9617, allocations: 1.13 MB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.9617, allocations: 0.7188 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.9618, allocations: 3.938 kB / 1.273 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.045e-05/0.9618, allocations: 20.41 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.9623, allocations: 137.4 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.9625, allocations: 127 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.9626, allocations: 9.766 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.9627, allocations: 48.92 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.9628, allocations: 42.98 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.9628, allocations: 12.66 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.947e-05/0.9629, allocations: 21.48 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.9629, allocations: 13.03 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.9629, allocations: 45.59 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.9631, allocations: 131.2 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.9631, allocations: 0 / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9631, allocations: 1.031 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.9631, allocations: 4 kB / 1.274 GB, free: 5.973 MB / 0.9981 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.0004264/0.9636, allocations: 394.8 kB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.9636, allocations: 10.64 kB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.9636, allocations: 31.66 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.9637, allocations: 6.188 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.9638, allocations: 184 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.9638, allocations: 3.5 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.9638, allocations: 5.5 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.535e-05/0.9639, allocations: 50.09 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.9639, allocations: 3.938 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.9639, allocations: 3.984 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.9639, allocations: 0.9688 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.964, allocations: 16.84 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.9644, allocations: 331 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.227e-05/0.9644, allocations: 29.11 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.9644, allocations: 14.5 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.9645, allocations: 0 / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.9646, allocations: 64.73 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.9646, allocations: 0 / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002098/0.9648, allocations: 80.08 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.9648, allocations: 53.84 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.9649, allocations: 128.8 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.9649, allocations: 32.92 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.965, allocations: 94.73 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.965, allocations: 9.672 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.9651, allocations: 29.94 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.208e-05/0.9651, allocations: 320.6 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.9652, allocations: 41.23 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.748e-05/0.9653, allocations: 50.02 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.9654, allocations: 95.14 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9654, allocations: 1.125 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002625/0.9657, allocations: 169.6 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.9657, allocations: 35.92 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9657, allocations: 0.9375 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9657, allocations: 0.6875 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.9658, allocations: 10.31 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9658, allocations: 6.031 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.966, allocations: 28.08 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.966, allocations: 7.891 kB / 1.276 GB, free: 3.863 MB / 0.9981 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 6.56e-05/0.9661, allocations: 119.5 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.9661, allocations: 7.797 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.9661, allocations: 10.2 kB / 1.276 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.9661, allocations: 0 / 1.276 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9661, allocations: 4.875 kB / 1.276 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9661, allocations: 0.9844 kB / 1.276 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.641e-05/0.9662, allocations: 177.9 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9662, allocations: 0.6562 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.9662, allocations: 1.656 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.9662, allocations: 0.6875 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.9662, allocations: 3.109 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9662, allocations: 0.875 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9662, allocations: 0 / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.9663, allocations: 100.6 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.9663, allocations: 84.22 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.9664, allocations: 0 / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.9664, allocations: 3.312 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.9664, allocations: 1.719 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.9664, allocations: 1.625 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.9665, allocations: 98.77 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9665, allocations: 3.938 kB / 1.277 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002158/0.9667, allocations: 19.33 kB / 1.277 GB, free: 3.242 MB / 0.9981 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.0003216/0.967, allocations: 0.6384 MB / 1.277 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.9672, allocations: 123.3 kB / 1.278 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9672, allocations: 0 / 1.278 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.9673, allocations: 13.67 kB / 1.278 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.9675, allocations: 15.62 kB / 1.278 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.9691, allocations: 1.512 MB / 1.279 GB, free: 17.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.9694, allocations: 0.6841 MB / 1.28 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.9695, allocations: 9.328 kB / 1.28 GB, free: 16.51 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.9695, allocations: 18.78 kB / 1.28 GB, free: 16.5 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.9695, allocations: 0.9688 kB / 1.28 GB, free: 16.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.9946, allocations: 2.353 MB / 1.282 GB, free: 16.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/9.114, allocations: 10.69 kB / 1.282 GB, free: 16.07 MB / 1.014 GB " [Timeout remaining time 291] (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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.044816229026765]