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.0007376/0.0007376, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001818, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007109/0.0007109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009504/0.001661, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.964/0.964, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08969/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.327/2.327, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2451/2.572, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 2.134e-06/2.134e-06, allocations: 0 / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.984e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002295/0.002315, allocations: 1.851 MB / 0.8207 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.003608, allocations: 0.9354 MB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.557e-05/0.003684, allocations: 8 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.003793, allocations: 35.47 kB / 0.8217 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.004046, allocations: 115.3 kB / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.004348, allocations: 158.2 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.004578, allocations: 243.4 kB / 0.8222 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.004677, allocations: 18.45 kB / 0.8222 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01613/0.0208, allocations: 6.514 MB / 0.8286 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.02098, allocations: 99.73 kB / 0.8286 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.02101, allocations: 12 kB / 0.8287 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.342e-05/0.02109, allocations: 39.86 kB / 0.8287 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.02114, allocations: 27.88 kB / 0.8287 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.0212, allocations: 43.88 kB / 0.8288 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.02146, allocations: 147.5 kB / 0.8289 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.02147, allocations: 0 / 0.8289 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.12e-07/0.02147, allocations: 0 / 0.8289 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.02148, allocations: 8 kB / 0.8289 GB, free: 10.65 MB / 0.8073 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.0005442/0.02203, allocations: 498.9 kB / 0.8294 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.02206, allocations: 8.031 kB / 0.8294 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.0221, allocations: 24.92 kB / 0.8294 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.02228, allocations: 185 kB / 0.8296 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.02229, allocations: 4 kB / 0.8296 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.02231, allocations: 16 kB / 0.8296 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.985e-05/0.0224, allocations: 73.64 kB / 0.8297 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.0224, allocations: 0 / 0.8297 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.02241, allocations: 4 kB / 0.8297 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.02242, allocations: 0 / 0.8297 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.77e-05/0.02246, allocations: 27.92 kB / 0.8297 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.0228, allocations: 264 kB / 0.83 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.02297, allocations: 98.44 kB / 0.8301 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.023, allocations: 12.86 kB / 0.8301 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.02301, allocations: 4 kB / 0.8301 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.02311, allocations: 87.33 kB / 0.8302 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.02312, allocations: 0 / 0.8302 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001497/0.02327, allocations: 104.9 kB / 0.8303 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.0233, allocations: 59.39 kB / 0.8303 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.02343, allocations: 187.9 kB / 0.8305 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.02345, allocations: 37.7 kB / 0.8305 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.0235, allocations: 108.5 kB / 0.8306 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.02353, allocations: 39.67 kB / 0.8307 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.02358, allocations: 61.58 kB / 0.8307 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.02365, allocations: 326.8 kB / 0.831 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.02367, allocations: 15.98 kB / 0.8311 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.02381, allocations: 218 kB / 0.8313 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.914e-05/0.02388, allocations: 89.59 kB / 0.8314 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.02388, allocations: 4 kB / 0.8314 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00012/0.024, allocations: 105.5 kB / 0.8315 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.02401, allocations: 4 kB / 0.8315 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.02402, allocations: 4 kB / 0.8315 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.02403, allocations: 0 / 0.8315 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.02409, allocations: 31.92 kB / 0.8315 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.0241, allocations: 4 kB / 0.8315 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.679e-05/0.02418, allocations: 24 kB / 0.8315 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.02419, allocations: 12 kB / 0.8315 GB, free: 7.727 MB / 0.8073 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 8.246e-05/0.02427, allocations: 126.6 kB / 0.8317 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.02429, allocations: 19.92 kB / 0.8317 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.02432, allocations: 21.8 kB / 0.8317 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.02433, allocations: 4 kB / 0.8317 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.02433, allocations: 0 / 0.8317 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.02433, allocations: 0 / 0.8317 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.02465, allocations: 318.4 kB / 0.832 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.02465, allocations: 4 kB / 0.832 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.504e-05/0.02466, allocations: 4 kB / 0.832 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.02468, allocations: 15.89 kB / 0.832 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.02468, allocations: 7.938 kB / 0.832 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.02469, allocations: 4 kB / 0.832 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.02469, allocations: 0 / 0.832 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.02469, allocations: 0 / 0.832 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.02487, allocations: 187.4 kB / 0.8322 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.02489, allocations: 7.984 kB / 0.8322 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.02494, allocations: 11.98 kB / 0.8322 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.02498, allocations: 19.97 kB / 0.8323 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.025, allocations: 8 kB / 0.8323 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.02503, allocations: 58.36 kB / 0.8323 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02503, allocations: 0 / 0.8323 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001734/0.02521, allocations: 47.95 kB / 0.8324 GB, free: 6.82 MB / 0.8073 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.0003015/0.02551, allocations: 190.8 kB / 0.8325 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.02563, allocations: 76.69 kB / 0.8326 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.02563, allocations: 0 / 0.8326 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.639e-05/0.02569, allocations: 52.25 kB / 0.8327 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.02599, allocations: 399.9 kB / 0.833 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.02647, allocations: 283.8 kB / 0.8333 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.02651, allocations: 71.98 kB / 0.8334 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.003e-05/0.02656, allocations: 21.58 kB / 0.8334 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.02671, allocations: 117.2 kB / 0.8335 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of SimCode: time 8.11e-07/0.02671, allocations: 7.938 kB / 0.8335 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of Templates: time 0.006941/0.03365, allocations: 4.151 MB / 0.8376 GB, free: 1.457 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.215561170130968]