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.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.001346/0.001346, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.0013/0.0013, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.42/1.42, 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 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.025/3.025, allocations: 496.2 MB / 0.7819 GB, free: 12.21 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: 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 0.00199/0.00199, allocations: 71.88 kB / 1.136 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 173.6 MB / 1.305 GB, free: 33.49 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002541/1.011, allocations: 1.757 MB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001166/1.012, allocations: 0.9153 MB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/1.012, allocations: 11.03 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/1.012, allocations: 22.36 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002898/1.013, allocations: 122.9 kB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000302/1.013, allocations: 160.3 kB / 1.308 GB, free: 31.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/1.013, allocations: 239.3 kB / 1.309 GB, free: 31.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/1.013, allocations: 21.55 kB / 1.309 GB, free: 31.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/1.013, allocations: 117.7 kB / 1.309 GB, free: 31.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01268/1.026, allocations: 1.698 MB / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/1.026, allocations: 16.34 kB / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.023e-05/1.026, allocations: 36.66 kB / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/1.026, allocations: 50.72 kB / 1.31 GB, free: 30.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.093e-05/1.026, allocations: 95.69 kB / 1.311 GB, free: 30.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/1.027, allocations: 220.5 kB / 1.311 GB, free: 30.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.027, allocations: 2.062 kB / 1.311 GB, free: 30.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/1.027, allocations: 0 / 1.311 GB, free: 30.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.884e-06/1.027, allocations: 0 / 1.311 GB, free: 30.7 MB / 1.061 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.0007941/1.028, allocations: 0.5575 MB / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/1.028, allocations: 11.44 kB / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/1.028, allocations: 17.47 kB / 1.311 GB, free: 30.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/1.028, allocations: 246.9 kB / 1.312 GB, free: 29.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/1.028, allocations: 13.2 kB / 1.312 GB, free: 29.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/1.028, allocations: 12.84 kB / 1.312 GB, free: 29.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/1.028, allocations: 91.42 kB / 1.312 GB, free: 29.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.028, allocations: 0 / 1.312 GB, free: 29.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/1.028, allocations: 6.812 kB / 1.312 GB, free: 29.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.028, allocations: 3.984 kB / 1.312 GB, free: 29.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/1.028, allocations: 63.28 kB / 1.312 GB, free: 29.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/1.029, allocations: 463.3 kB / 1.312 GB, free: 29.51 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/1.029, allocations: 126.3 kB / 1.312 GB, free: 29.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/1.029, allocations: 30.22 kB / 1.312 GB, free: 29.44 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/1.029, allocations: 2.656 kB / 1.312 GB, free: 29.44 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/1.03, allocations: 117.6 kB / 1.312 GB, free: 29.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/1.03, allocations: 4 kB / 1.312 GB, free: 29.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003158/1.03, allocations: 166.2 kB / 1.313 GB, free: 29.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/1.03, allocations: 54.22 kB / 1.313 GB, free: 29.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/1.03, allocations: 201 kB / 1.313 GB, free: 29.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/1.03, allocations: 32.39 kB / 1.313 GB, free: 29.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/1.03, allocations: 124.3 kB / 1.313 GB, free: 28.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/1.03, allocations: 33.39 kB / 1.313 GB, free: 28.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/1.03, allocations: 62 kB / 1.313 GB, free: 28.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.321e-05/1.03, allocations: 332 kB / 1.313 GB, free: 28.56 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/1.03, allocations: 33 kB / 1.313 GB, free: 28.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/1.031, allocations: 129 kB / 1.314 GB, free: 28.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/1.031, allocations: 106.3 kB / 1.314 GB, free: 28.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.031, allocations: 4 kB / 1.314 GB, free: 28.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00021/1.031, allocations: 156.2 kB / 1.314 GB, free: 28.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.031, allocations: 7.125 kB / 1.314 GB, free: 28.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.031, allocations: 2.531 kB / 1.314 GB, free: 28.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.031, allocations: 14.11 kB / 1.314 GB, free: 28.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/1.031, allocations: 10.66 kB / 1.314 GB, free: 28.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.031, allocations: 6.656 kB / 1.314 GB, free: 28.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/1.031, allocations: 24.97 kB / 1.314 GB, free: 28.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/1.031, allocations: 9.062 kB / 1.314 GB, free: 28.27 MB / 1.061 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 9.187e-05/1.031, allocations: 140.1 kB / 1.314 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/1.031, allocations: 22.11 kB / 1.314 GB, free: 28.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/1.031, allocations: 20.72 kB / 1.314 GB, free: 28.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.031, allocations: 6.781 kB / 1.314 GB, free: 28.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.031, allocations: 0 / 1.314 GB, free: 28.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.031, allocations: 3.469 kB / 1.314 GB, free: 28.1 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/1.032, allocations: 493.1 kB / 1.315 GB, free: 27.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.032, allocations: 0 / 1.315 GB, free: 27.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/1.032, allocations: 6.375 kB / 1.315 GB, free: 27.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.032, allocations: 5.891 kB / 1.315 GB, free: 27.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/1.032, allocations: 4 kB / 1.315 GB, free: 27.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.032, allocations: 7.938 kB / 1.315 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.032, allocations: 3.312 kB / 1.315 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/1.032, allocations: 226.5 kB / 1.315 GB, free: 27.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/1.032, allocations: 95.36 kB / 1.315 GB, free: 27.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/1.032, allocations: 2.922 kB / 1.315 GB, free: 27.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/1.032, allocations: 21.44 kB / 1.315 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/1.032, allocations: 23.25 kB / 1.315 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/1.033, allocations: 13.02 kB / 1.315 GB, free: 27.42 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.511e-05/1.033, allocations: 145 kB / 1.315 GB, free: 27.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.033, allocations: 0 / 1.315 GB, free: 27.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002968/1.033, allocations: 43.77 kB / 1.315 GB, free: 27.32 MB / 1.061 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.0003124/1.033, allocations: 172.4 kB / 1.315 GB, free: 27.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002152/1.033, allocations: 94.47 kB / 1.315 GB, free: 27.17 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.033, allocations: 0 / 1.315 GB, free: 27.17 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.919e-05/1.034, allocations: 61.08 kB / 1.315 GB, free: 27.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/1.034, allocations: 43.81 kB / 1.315 GB, free: 27.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/1.034, allocations: 326.4 kB / 1.316 GB, free: 26.92 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/1.035, allocations: 0.7236 MB / 1.316 GB, free: 26.22 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.651e-05/1.035, allocations: 29.17 kB / 1.317 GB, free: 26.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/1.035, allocations: 24.5 kB / 1.317 GB, free: 26.2 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/1.035, allocations: 0 / 1.317 GB, free: 26.2 MB / 1.061 GB Notification: Performance of Templates: time 0.007705/1.042, allocations: 3.787 MB / 1.32 GB, free: 25.85 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: 9.217732947319746]