Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001159/0.001159, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.002778, 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.001087/0.001087, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.002507, 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.9582/0.9582, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08911/1.047, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.408/2.408, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.252/2.66, allocations: 146 MB / 0.8176 GB, free: 3.828 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.587e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002147/0.002162, allocations: 1.837 MB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.003536, allocations: 0.9509 MB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.003611, allocations: 3.938 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.003719, allocations: 27.73 kB / 0.8217 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.003973, allocations: 119.2 kB / 0.8218 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.004269, allocations: 162.7 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.004489, allocations: 239.4 kB / 0.8222 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.004579, allocations: 26.44 kB / 0.8222 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01452/0.0191, allocations: 5.409 MB / 0.8275 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.01928, allocations: 107.7 kB / 0.8276 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.01931, allocations: 12 kB / 0.8276 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-05/0.01939, allocations: 35.88 kB / 0.8276 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.01944, allocations: 27.92 kB / 0.8276 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.0195, allocations: 43.88 kB / 0.8277 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.01974, allocations: 151.5 kB / 0.8278 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.01975, allocations: 0 / 0.8278 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.01975, allocations: 4 kB / 0.8278 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.01976, allocations: 4 kB / 0.8278 GB, free: 11.4 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.0005797/0.02034, allocations: 494.9 kB / 0.8283 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.02037, allocations: 8.031 kB / 0.8283 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.02042, allocations: 24.91 kB / 0.8283 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.0206, allocations: 177 kB / 0.8285 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.02061, allocations: 8 kB / 0.8285 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.02063, allocations: 23.98 kB / 0.8285 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.536e-05/0.02073, allocations: 61.66 kB / 0.8286 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.02074, allocations: 0 / 0.8286 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.02075, allocations: 11.98 kB / 0.8286 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.02076, allocations: 0 / 0.8286 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.0208, allocations: 22.91 kB / 0.8286 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.02117, allocations: 271.9 kB / 0.8289 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.02133, allocations: 90.5 kB / 0.829 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.02136, allocations: 16.8 kB / 0.829 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.02137, allocations: 15.92 kB / 0.829 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.02147, allocations: 79.34 kB / 0.8291 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.02148, allocations: 0 / 0.8291 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001532/0.02163, allocations: 101.6 kB / 0.8292 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.02166, allocations: 59.34 kB / 0.8292 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.02177, allocations: 192.5 kB / 0.8294 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.02179, allocations: 37.69 kB / 0.8295 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.02184, allocations: 112.5 kB / 0.8296 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.02186, allocations: 31.69 kB / 0.8296 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.02192, allocations: 61.64 kB / 0.8297 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.616e-05/0.022, allocations: 330.8 kB / 0.83 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.02202, allocations: 12 kB / 0.83 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.02217, allocations: 214 kB / 0.8302 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.722e-05/0.02224, allocations: 83.02 kB / 0.8303 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02224, allocations: 4 kB / 0.8303 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001102/0.02235, allocations: 112.7 kB / 0.8304 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.02236, allocations: 4 kB / 0.8304 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.02237, allocations: 4 kB / 0.8304 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.02238, allocations: 0 / 0.8304 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.02244, allocations: 27.92 kB / 0.8304 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.02245, allocations: 4 kB / 0.8304 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.02253, allocations: 32 kB / 0.8304 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.02254, allocations: 4 kB / 0.8304 GB, free: 8.488 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 7.304e-05/0.02261, allocations: 130.6 kB / 0.8306 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.02263, allocations: 19.91 kB / 0.8306 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.02266, allocations: 21.81 kB / 0.8306 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.02266, allocations: 4 kB / 0.8306 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.02266, allocations: 0 / 0.8306 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.02267, allocations: 0 / 0.8306 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.02294, allocations: 325.4 kB / 0.8309 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02294, allocations: 3.984 kB / 0.8309 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.02295, allocations: 7.938 kB / 0.8309 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.02297, allocations: 11.91 kB / 0.8309 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.02297, allocations: 4 kB / 0.831 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.02299, allocations: 0 / 0.831 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.02299, allocations: 0 / 0.831 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02299, allocations: 0 / 0.831 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.0231, allocations: 195.3 kB / 0.8311 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.02311, allocations: 0 / 0.8311 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.431e-05/0.02316, allocations: 19.98 kB / 0.8312 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.0232, allocations: 15.97 kB / 0.8312 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.02322, allocations: 7.984 kB / 0.8312 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.02325, allocations: 53.81 kB / 0.8312 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02325, allocations: 0 / 0.8312 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001572/0.02341, allocations: 43.95 kB / 0.8313 GB, free: 7.586 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.000302/0.02371, allocations: 177.9 kB / 0.8314 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.02383, allocations: 76.69 kB / 0.8315 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.02383, allocations: 4.375 kB / 0.8315 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.02389, allocations: 52.02 kB / 0.8316 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.0242, allocations: 407.5 kB / 0.832 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.02475, allocations: 315.8 kB / 0.8323 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.02479, allocations: 75.98 kB / 0.8323 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.809e-05/0.02484, allocations: 21.58 kB / 0.8324 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.025, allocations: 121.2 kB / 0.8325 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of SimCode: time 9.72e-07/0.025, allocations: 0 / 0.8325 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of Templates: time 0.005602/0.03061, allocations: 4.161 MB / 0.8365 GB, free: 2.172 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.246455986984074]