Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007534/0.0007534, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007779/0.0007779, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.881/0.881, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.662/1.662, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.9517 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.02e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002279/0.002309, allocations: 1.634 MB / 0.9533 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008412/0.00315, allocations: 0.5659 MB / 0.9538 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.003218, allocations: 4 kB / 0.9538 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.003391, allocations: 27.73 kB / 0.9539 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.003706, allocations: 119.4 kB / 0.954 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.003974, allocations: 147.6 kB / 0.9541 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.004187, allocations: 219.4 kB / 0.9543 GB, free: 328 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.004308, allocations: 17.8 kB / 0.9543 GB, free: 308 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.004438, allocations: 135.7 kB / 0.9545 GB, free: 172 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004612/0.009051, allocations: 1.558 MB / 0.956 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.754e-05/0.009098, allocations: 16 kB / 0.956 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.386e-05/0.009192, allocations: 39.94 kB / 0.956 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.009251, allocations: 35.89 kB / 0.9561 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.009325, allocations: 55.81 kB / 0.9561 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.009668, allocations: 219.4 kB / 0.9563 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.009672, allocations: 0 / 0.9563 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.904e-06/0.009674, allocations: 0 / 0.9563 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.00968, allocations: 0 / 0.9563 GB, free: 14.66 MB / 0.9167 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.0006135/0.01029, allocations: 468.7 kB / 0.9568 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.01033, allocations: 12.03 kB / 0.9568 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.0104, allocations: 20.84 kB / 0.9568 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.0106, allocations: 169.5 kB / 0.957 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.01062, allocations: 12.38 kB / 0.957 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.01064, allocations: 8.375 kB / 0.957 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.01078, allocations: 85.53 kB / 0.9571 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.01079, allocations: 0 / 0.9571 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.01081, allocations: 8 kB / 0.9571 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.01081, allocations: 0 / 0.9571 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.663e-05/0.01089, allocations: 43.97 kB / 0.9571 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.01143, allocations: 356.1 kB / 0.9575 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.01156, allocations: 70.48 kB / 0.9575 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.01159, allocations: 20.86 kB / 0.9576 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.01161, allocations: 0 / 0.9576 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.01173, allocations: 87.38 kB / 0.9576 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.01173, allocations: 4 kB / 0.9576 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.0002458/0.01198, allocations: 137.6 kB / 0.9578 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.01201, allocations: 51.41 kB / 0.9578 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.01215, allocations: 191.2 kB / 0.958 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.01218, allocations: 33.7 kB / 0.958 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.01225, allocations: 123.9 kB / 0.9582 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.01227, allocations: 23.84 kB / 0.9582 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.01233, allocations: 57.67 kB / 0.9582 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.01242, allocations: 326.8 kB / 0.9585 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-05/0.01246, allocations: 27.89 kB / 0.9586 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.01266, allocations: 232.6 kB / 0.9588 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.262e-05/0.01275, allocations: 92.22 kB / 0.9589 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01276, allocations: 0 / 0.9589 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001456/0.0129, allocations: 133.5 kB / 0.959 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.01292, allocations: 4 kB / 0.959 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01292, allocations: 4 kB / 0.959 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.01294, allocations: 0 / 0.959 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.013, allocations: 24 kB / 0.959 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.01301, allocations: 0 / 0.959 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.464e-05/0.0131, allocations: 31.81 kB / 0.9591 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.01311, allocations: 4 kB / 0.9591 GB, free: 11.6 MB / 0.9167 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 9.341e-05/0.0132, allocations: 141.5 kB / 0.9592 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.01322, allocations: 15.91 kB / 0.9592 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.01325, allocations: 9.469 kB / 0.9592 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01325, allocations: 4 kB / 0.9592 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.01325, allocations: 0 / 0.9592 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.01326, allocations: 7.922 kB / 0.9592 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.01359, allocations: 366 kB / 0.9596 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.01359, allocations: 4 kB / 0.9596 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.01361, allocations: 4 kB / 0.9596 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01361, allocations: 0 / 0.9596 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01362, allocations: 11.92 kB / 0.9596 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01363, allocations: 0 / 0.9596 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01363, allocations: 0 / 0.9596 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.01376, allocations: 207.3 kB / 0.9598 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.01378, allocations: 11.95 kB / 0.9598 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.01379, allocations: 11.88 kB / 0.9598 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.01384, allocations: 11.98 kB / 0.9598 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.01389, allocations: 11.98 kB / 0.9599 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.01392, allocations: 7.984 kB / 0.9599 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.827e-05/0.01399, allocations: 137.7 kB / 0.96 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01399, allocations: 0 / 0.96 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002016/0.01419, allocations: 51.88 kB / 0.96 GB, free: 10.54 MB / 0.9167 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.0003297/0.01452, allocations: 174.6 kB / 0.9602 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.01468, allocations: 71.91 kB / 0.9603 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01468, allocations: 12.17 kB / 0.9603 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/0.01473, allocations: 32 kB / 0.9603 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.015, allocations: 52.75 kB / 0.9604 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.0155, allocations: 299.6 kB / 0.9607 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.278e-05/0.01557, allocations: 102.3 kB / 0.9608 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.01561, allocations: 24.48 kB / 0.9608 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.01561, allocations: 3.938 kB / 0.9608 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of Templates: time 0.003773/0.01939, allocations: 2.946 MB / 0.9637 GB, free: 6.828 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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: 7.032158361747861]