Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001928/0.001928, allocations: 79.36 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.002191/0.002191, allocations: 166.1 kB / 22.46 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.435/1.435, allocations: 177.1 MB / 202.8 MB, free: 9.168 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 3.069/3.069, allocations: 389 MB / 0.633 GB, free: 1.004 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.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.847e-05, allocations: 6.281 kB / 1 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003118/0.003146, allocations: 1.734 MB / 1.002 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.004918, allocations: 0.9043 MB / 1.003 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.004996, allocations: 4 kB / 1.003 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.005179, allocations: 27.72 kB / 1.003 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003947/0.005574, allocations: 123.3 kB / 1.003 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.005977, allocations: 159.6 kB / 1.003 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.006318, allocations: 251.3 kB / 1.003 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.006444, allocations: 25.78 kB / 1.003 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.006662, allocations: 147.7 kB / 1.003 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01661/0.02327, allocations: 2.026 MB / 1.005 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.222e-05/0.02337, allocations: 20 kB / 1.005 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.02351, allocations: 35.94 kB / 1.005 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.401e-05/0.0236, allocations: 39.83 kB / 1.005 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.02372, allocations: 67.8 kB / 1.006 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.02417, allocations: 239.3 kB / 1.006 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.02417, allocations: 0 / 1.006 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.512e-06/0.02418, allocations: 4 kB / 1.006 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.02419, allocations: 0 / 1.006 GB, free: 0.9922 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009023/0.02509, allocations: 488.7 kB / 1.006 GB, free: 484 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.02513, allocations: 8.031 kB / 1.006 GB, free: 476 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.99e-05/0.02521, allocations: 24.83 kB / 1.006 GB, free: 452 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.02551, allocations: 189.9 kB / 1.006 GB, free: 236 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.02553, allocations: 12.38 kB / 1.006 GB, free: 224 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.02557, allocations: 19.94 kB / 1.006 GB, free: 204 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.02577, allocations: 95.84 kB / 1.007 GB, free: 104 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.02578, allocations: 7.984 kB / 1.007 GB, free: 96 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.0258, allocations: 0 / 1.007 GB, free: 96 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.0258, allocations: 0 / 1.007 GB, free: 96 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.02592, allocations: 55.91 kB / 1.007 GB, free: 40 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008077/0.02673, allocations: 360.2 kB / 1.007 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.0272, allocations: 134.7 kB / 1.007 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.02728, allocations: 32.84 kB / 1.007 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.0273, allocations: 4 kB / 1.007 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.0276, allocations: 111.2 kB / 1.007 GB, free: 15.36 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.02761, allocations: 0 / 1.007 GB, free: 15.36 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0003878/0.02799, allocations: 169.6 kB / 1.007 GB, free: 15.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.02804, allocations: 59.34 kB / 1.007 GB, free: 15.11 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.02826, allocations: 198.8 kB / 1.008 GB, free: 14.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.02831, allocations: 33.7 kB / 1.008 GB, free: 14.87 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.02843, allocations: 120.6 kB / 1.008 GB, free: 14.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.02847, allocations: 35.69 kB / 1.008 GB, free: 14.71 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.02857, allocations: 61.67 kB / 1.008 GB, free: 14.64 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.02874, allocations: 330.8 kB / 1.008 GB, free: 14.31 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.02881, allocations: 31.98 kB / 1.008 GB, free: 14.28 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.02914, allocations: 230.4 kB / 1.008 GB, free: 14 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.02929, allocations: 108.2 kB / 1.009 GB, free: 13.88 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.0293, allocations: 0 / 1.009 GB, free: 13.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002701/0.02957, allocations: 155.4 kB / 1.009 GB, free: 13.73 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.02958, allocations: 7.938 kB / 1.009 GB, free: 13.72 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.02959, allocations: 0 / 1.009 GB, free: 13.72 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.02961, allocations: 4 kB / 1.009 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.724e-05/0.02968, allocations: 19.92 kB / 1.009 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.02969, allocations: 4.125 kB / 1.009 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.02992, allocations: 27.88 kB / 1.009 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.02994, allocations: 8 kB / 1.009 GB, free: 13.66 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001513/0.03009, allocations: 140.3 kB / 1.009 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.03012, allocations: 19.84 kB / 1.009 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.03018, allocations: 21.8 kB / 1.009 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.03018, allocations: 0 / 1.009 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.03019, allocations: 4 kB / 1.009 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.03019, allocations: 4.047 kB / 1.009 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.03087, allocations: 428.4 kB / 1.009 GB, free: 13.01 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.03088, allocations: 0 / 1.009 GB, free: 13.01 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.0309, allocations: 7.984 kB / 1.009 GB, free: 13 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.03091, allocations: 4 kB / 1.009 GB, free: 13 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.03092, allocations: 7.938 kB / 1.009 GB, free: 12.99 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.03092, allocations: 0 / 1.009 GB, free: 12.99 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.03092, allocations: 0 / 1.009 GB, free: 12.99 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.03118, allocations: 231.3 kB / 1.01 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.03121, allocations: 15.91 kB / 1.01 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.03124, allocations: 8 kB / 1.01 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.03137, allocations: 11.98 kB / 1.01 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.03145, allocations: 23.95 kB / 1.01 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.03148, allocations: 4 kB / 1.01 GB, free: 12.69 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001387/0.03161, allocations: 154.4 kB / 1.01 GB, free: 12.54 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.03161, allocations: 0 / 1.01 GB, free: 12.54 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003162/0.03193, allocations: 51.89 kB / 1.01 GB, free: 12.49 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * 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.000436/0.03237, allocations: 173.5 kB / 1.01 GB, free: 12.33 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.03262, allocations: 104 kB / 1.01 GB, free: 12.23 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.03262, allocations: 0 / 1.01 GB, free: 12.23 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.03272, allocations: 47.92 kB / 1.01 GB, free: 12.18 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.03317, allocations: 62.16 kB / 1.01 GB, free: 12.12 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.03382, allocations: 286.4 kB / 1.01 GB, free: 11.82 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.03394, allocations: 116.4 kB / 1.011 GB, free: 11.69 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.858e-05/0.03402, allocations: 21.62 kB / 1.011 GB, free: 11.67 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.03409, allocations: 20.5 kB / 1.011 GB, free: 11.65 MB / 0.92 GB Notification: Performance of SimCode: time 3.1e-07/0.03409, allocations: 4 kB / 1.011 GB, free: 11.64 MB / 0.92 GB Notification: Performance of Templates: time 0.009113/0.0432, allocations: 3.989 MB / 1.015 GB, free: 7.727 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.390174690634012]