Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.00116/0.00116, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001798/0.002957, allocations: 435.8 kB / 10.33 MB, free: 364 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.001198/0.001198, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.00237, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.9694/0.9694, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09914/1.068, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.413/2.413, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2731/2.686, allocations: 145.9 MB / 0.817 GB, free: 4.227 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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.825e-06/9.128e-06, allocations: 2.312 kB / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002282/0.002291, allocations: 1.723 MB / 0.8199 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008786/0.003169, allocations: 0.5808 MB / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.61e-05/0.003235, allocations: 8 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.003339, allocations: 35.59 kB / 0.8206 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.003573, allocations: 99.47 kB / 0.8207 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.003861, allocations: 147.6 kB / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.004085, allocations: 215.4 kB / 0.821 GB, free: 124 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.004169, allocations: 26.38 kB / 0.821 GB, free: 100 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01593/0.0201, allocations: 4.992 MB / 0.8259 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.02026, allocations: 83.77 kB / 0.826 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.0203, allocations: 16 kB / 0.826 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.394e-05/0.02038, allocations: 35.91 kB / 0.826 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.02043, allocations: 23.88 kB / 0.8261 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.0205, allocations: 35.94 kB / 0.8261 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.02074, allocations: 139.5 kB / 0.8262 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.02076, allocations: 0 / 0.8262 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.02e-07/0.02076, allocations: 4 kB / 0.8262 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.02077, allocations: 4 kB / 0.8262 GB, free: 12.66 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005673/0.02134, allocations: 467 kB / 0.8267 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.02136, allocations: 8.625 kB / 0.8267 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.02142, allocations: 20.92 kB / 0.8267 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.0216, allocations: 161.5 kB / 0.8269 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.02161, allocations: 12.38 kB / 0.8269 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.02164, allocations: 12.38 kB / 0.8269 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.253e-05/0.02173, allocations: 65.59 kB / 0.8269 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.02174, allocations: 7.938 kB / 0.8269 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.02174, allocations: 4 kB / 0.827 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.02175, allocations: 0 / 0.827 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.166e-05/0.02179, allocations: 23.22 kB / 0.827 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.0222, allocations: 256 kB / 0.8272 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.02228, allocations: 50.48 kB / 0.8273 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.0223, allocations: 16.86 kB / 0.8273 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.02231, allocations: 4 kB / 0.8273 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.825e-05/0.02241, allocations: 75.3 kB / 0.8274 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.02241, allocations: 0 / 0.8274 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001411/0.02255, allocations: 81.78 kB / 0.8274 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.02261, allocations: 59.41 kB / 0.8275 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.02273, allocations: 177.5 kB / 0.8277 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.02276, allocations: 33.7 kB / 0.8277 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.02281, allocations: 112 kB / 0.8278 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.02284, allocations: 23.78 kB / 0.8278 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.0229, allocations: 57.66 kB / 0.8279 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.02298, allocations: 334.7 kB / 0.8282 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.023, allocations: 8 kB / 0.8282 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.02322, allocations: 214 kB / 0.8284 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.333e-05/0.02329, allocations: 71.02 kB / 0.8285 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.02329, allocations: 0 / 0.8285 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000125/0.02342, allocations: 108.2 kB / 0.8286 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.02343, allocations: 8 kB / 0.8286 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.02344, allocations: 4 kB / 0.8286 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.02345, allocations: 4 kB / 0.8286 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.02352, allocations: 19.98 kB / 0.8286 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.02352, allocations: 0 / 0.8286 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.571e-05/0.02362, allocations: 23.94 kB / 0.8286 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.02363, allocations: 4 kB / 0.8286 GB, free: 9.953 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: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.534e-05/0.02371, allocations: 136.3 kB / 0.8288 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.02373, allocations: 16.11 kB / 0.8288 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.02376, allocations: 13.47 kB / 0.8288 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.02376, allocations: 7.984 kB / 0.8288 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.02377, allocations: 0 / 0.8288 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.02377, allocations: 0 / 0.8288 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.02405, allocations: 278.5 kB / 0.8291 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02405, allocations: 0 / 0.8291 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.02406, allocations: 8 kB / 0.8291 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.02408, allocations: 11.91 kB / 0.8291 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.02408, allocations: 0 / 0.8291 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-06/0.02409, allocations: 7.984 kB / 0.8291 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.02409, allocations: 7.938 kB / 0.8291 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02409, allocations: 0 / 0.8291 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.0242, allocations: 164 kB / 0.8293 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.02421, allocations: 7.984 kB / 0.8293 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.02428, allocations: 4 kB / 0.8293 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.02432, allocations: 23.91 kB / 0.8293 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.02434, allocations: 0 / 0.8293 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.532e-05/0.02438, allocations: 53.86 kB / 0.8293 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.02438, allocations: 4 kB / 0.8294 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002344/0.02462, allocations: 43.92 kB / 0.8294 GB, free: 9.121 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003129/0.02493, allocations: 177.2 kB / 0.8296 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.02505, allocations: 64.64 kB / 0.8296 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.02505, allocations: 4 kB / 0.8296 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.157e-05/0.0251, allocations: 28.84 kB / 0.8297 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.02533, allocations: 63.81 kB / 0.8297 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.02587, allocations: 278.4 kB / 0.83 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.02609, allocations: 68 kB / 0.83 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.836e-05/0.02614, allocations: 13.48 kB / 0.8301 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.02629, allocations: 105.3 kB / 0.8302 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.0263, allocations: 0 / 0.8302 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.006082/0.03238, allocations: 3.705 MB / 0.8338 GB, free: 4.672 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.350077700801194]