Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 80.3 kB / 19.18 MB, free: 2.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 177.2 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.97/2.97, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 1 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.237e-05, allocations: 6.281 kB / 1 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001983/0.002015, allocations: 0.9195 MB / 1.001 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.003965, allocations: 1.466 MB / 1.002 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.004033, allocations: 0 / 1.002 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.878e-05/0.004082, allocations: 19.75 kB / 1.002 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.004235, allocations: 63.5 kB / 1.003 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.005305, allocations: 447.7 kB / 1.003 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005661/0.005871, allocations: 499 kB / 1.003 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.006002, allocations: 33.92 kB / 1.003 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.006325, allocations: 275.5 kB / 1.004 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.006559, allocations: 123.7 kB / 1.004 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.524e-05/0.006644, allocations: 48 kB / 1.004 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.006779, allocations: 71.92 kB / 1.004 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.006827, allocations: 35.84 kB / 1.004 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.007019, allocations: 143.7 kB / 1.004 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006407/0.00766, allocations: 0.5534 MB / 1.005 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.007664, allocations: 0 / 1.005 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/0.007666, allocations: 0 / 1.005 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.007671, allocations: 0 / 1.005 GB, free: 1.531 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009554/0.008627, allocations: 0.5586 MB / 1.005 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.008667, allocations: 8.031 kB / 1.005 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.008769, allocations: 32.8 kB / 1.005 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.008985, allocations: 168.9 kB / 1.005 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.009012, allocations: 20.38 kB / 1.005 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.009078, allocations: 24.36 kB / 1.005 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.0093, allocations: 124.7 kB / 1.006 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.00931, allocations: 4.125 kB / 1.006 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.009324, allocations: 4.312 kB / 1.006 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.009332, allocations: 4.375 kB / 1.006 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.009443, allocations: 55.91 kB / 1.006 GB, free: 448 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009006/0.01034, allocations: 0.7116 MB / 1.006 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.01052, allocations: 126.3 kB / 1.006 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.821e-05/0.0106, allocations: 51.48 kB / 1.007 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.01061, allocations: 0 / 1.007 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003064/0.01092, allocations: 182.6 kB / 1.007 GB, free: 15.26 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.01092, allocations: 0 / 1.007 GB, free: 15.26 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.00049/0.01141, allocations: 229.6 kB / 1.007 GB, free: 15.03 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.0115, allocations: 140.5 kB / 1.007 GB, free: 14.86 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.01176, allocations: 241.7 kB / 1.007 GB, free: 14.62 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.959e-05/0.01182, allocations: 37.7 kB / 1.007 GB, free: 14.57 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.01195, allocations: 128.6 kB / 1.007 GB, free: 14.45 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.01199, allocations: 35.78 kB / 1.007 GB, free: 14.41 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.01219, allocations: 89.66 kB / 1.008 GB, free: 14.32 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.01236, allocations: 330.8 kB / 1.008 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.01275, allocations: 275 kB / 1.008 GB, free: 13.69 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.01321, allocations: 360.7 kB / 1.008 GB, free: 13.28 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.01369, allocations: 368.9 kB / 1.009 GB, free: 12.86 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.0137, allocations: 0 / 1.009 GB, free: 12.86 MB / 0.92 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001058/0.01475, allocations: 0.6863 MB / 1.009 GB, free: 12.11 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-05/0.01485, allocations: 134.7 kB / 1.01 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.01486, allocations: 8.234 kB / 1.01 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.01488, allocations: 11.94 kB / 1.01 GB, free: 11.94 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.01496, allocations: 12 kB / 1.01 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.01497, allocations: 7.938 kB / 1.01 GB, free: 11.92 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.01562, allocations: 111.7 kB / 1.01 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.287e-05/0.01568, allocations: 31.97 kB / 1.01 GB, free: 11.78 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001771/0.01586, allocations: 150.8 kB / 1.01 GB, free: 11.62 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.01591, allocations: 19.91 kB / 1.01 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.01595, allocations: 21.33 kB / 1.01 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.01596, allocations: 4 kB / 1.01 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01596, allocations: 0 / 1.01 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01597, allocations: 0 / 1.01 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.01617, allocations: 185.1 kB / 1.01 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01617, allocations: 7.938 kB / 1.01 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.01622, allocations: 15.98 kB / 1.01 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.01622, allocations: 4 kB / 1.01 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.01623, allocations: 4 kB / 1.01 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01624, allocations: 3.938 kB / 1.01 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01624, allocations: 0 / 1.01 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.01655, allocations: 227.3 kB / 1.01 GB, free: 11.08 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.01658, allocations: 11.91 kB / 1.01 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.01661, allocations: 11.98 kB / 1.01 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.299e-05/0.01666, allocations: 4 kB / 1.01 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.01671, allocations: 11.98 kB / 1.01 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.01673, allocations: 23.98 kB / 1.01 GB, free: 11.02 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001521/0.01689, allocations: 161.2 kB / 1.011 GB, free: 10.86 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.01689, allocations: 0 / 1.011 GB, free: 10.86 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003347/0.01722, allocations: 71.94 kB / 1.011 GB, free: 10.79 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001841/0.0174, allocations: 115.3 kB / 1.011 GB, free: 10.66 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007765/0.01818, allocations: 0.5988 MB / 1.011 GB, free: 9.992 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01818, allocations: 4.188 kB / 1.011 GB, free: 9.988 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.01829, allocations: 68.55 kB / 1.011 GB, free: 9.922 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.01872, allocations: 64.41 kB / 1.012 GB, free: 9.859 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.01932, allocations: 352.5 kB / 1.012 GB, free: 9.484 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.01944, allocations: 120.8 kB / 1.012 GB, free: 9.348 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.631e-05/0.01949, allocations: 21.64 kB / 1.012 GB, free: 9.328 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.01953, allocations: 20.5 kB / 1.012 GB, free: 9.309 MB / 0.92 GB Notification: Performance of SimCode: time 3e-07/0.01953, allocations: 0 / 1.012 GB, free: 9.309 MB / 0.92 GB Notification: Performance of Templates: time 0.009332/0.02887, allocations: 5.033 MB / 1.017 GB, free: 4.383 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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: 8.468398749828339]