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.001913/0.001913, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00165/0.00165, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.479/1.479, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.717/2.717, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.603e-06/1.603e-06, allocations: 3.938 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.07e-05, allocations: 3.078 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003553/0.003583, allocations: 1.645 MB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.005005, allocations: 0.5601 MB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.005112, allocations: 5.5 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.005299, allocations: 23.73 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.005726, allocations: 119.4 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.006162, allocations: 144.7 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.006541, allocations: 219.4 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.006656, allocations: 22.36 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.006902, allocations: 131.8 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01564/0.02254, allocations: 2.505 MB / 0.7916 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.291e-05/0.02262, allocations: 17.41 kB / 0.7916 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.02276, allocations: 31.94 kB / 0.7916 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.16e-05/0.02284, allocations: 39.83 kB / 0.7917 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.02297, allocations: 55.88 kB / 0.7917 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.02346, allocations: 222.1 kB / 0.7919 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.02347, allocations: 0 / 0.7919 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.522e-06/0.02347, allocations: 0 / 0.7919 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.02348, allocations: 0 / 0.7919 GB, free: 8.129 MB / 0.7448 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.00092/0.0244, allocations: 464.8 kB / 0.7924 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.02443, allocations: 8.031 kB / 0.7924 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.02454, allocations: 25.5 kB / 0.7924 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.02487, allocations: 177.5 kB / 0.7926 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.02488, allocations: 9.094 kB / 0.7926 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.02493, allocations: 12.91 kB / 0.7926 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.02513, allocations: 85.59 kB / 0.7927 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.02514, allocations: 1.312 kB / 0.7927 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.02515, allocations: 4 kB / 0.7927 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.02516, allocations: 0 / 0.7927 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.02528, allocations: 56.38 kB / 0.7927 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008478/0.02612, allocations: 342.8 kB / 0.7931 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.02629, allocations: 74.42 kB / 0.7931 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.284e-05/0.02635, allocations: 24.86 kB / 0.7931 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.02638, allocations: 9.203 kB / 0.7932 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.02655, allocations: 83.38 kB / 0.7932 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.02655, allocations: 5.688 kB / 0.7932 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.000375/0.02693, allocations: 133.6 kB / 0.7934 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.02699, allocations: 55.41 kB / 0.7934 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.02725, allocations: 195.2 kB / 0.7936 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.02729, allocations: 33.7 kB / 0.7936 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.02742, allocations: 116.9 kB / 0.7938 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.02745, allocations: 27.75 kB / 0.7938 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.02756, allocations: 61.09 kB / 0.7938 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.02775, allocations: 322.8 kB / 0.7941 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-05/0.02784, allocations: 27.98 kB / 0.7942 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.02821, allocations: 226.5 kB / 0.7944 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.02836, allocations: 98.97 kB / 0.7945 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.02837, allocations: 0 / 0.7945 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002803/0.02865, allocations: 138.6 kB / 0.7946 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.02866, allocations: 5.688 kB / 0.7946 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.02867, allocations: 4 kB / 0.7946 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.02869, allocations: 0 / 0.7946 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.02879, allocations: 19.94 kB / 0.7946 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.0288, allocations: 5.797 kB / 0.7946 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.029, allocations: 15.89 kB / 0.7947 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.02901, allocations: 8 kB / 0.7947 GB, free: 5.074 MB / 0.7448 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 0.0001955/0.0292, allocations: 149.5 kB / 0.7948 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.02924, allocations: 16.69 kB / 0.7948 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.02928, allocations: 17.47 kB / 0.7948 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.02929, allocations: 4.516 kB / 0.7949 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.02929, allocations: 0.8125 kB / 0.7949 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.0293, allocations: 3.938 kB / 0.7949 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.02987, allocations: 359 kB / 0.7952 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.02987, allocations: 0 / 0.7952 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.0299, allocations: 9.328 kB / 0.7952 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.0299, allocations: 0 / 0.7952 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.02992, allocations: 3.938 kB / 0.7952 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.02992, allocations: 0 / 0.7952 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.02992, allocations: 4.781 kB / 0.7952 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.03018, allocations: 203.4 kB / 0.7954 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.03021, allocations: 17.84 kB / 0.7954 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.03025, allocations: 15.92 kB / 0.7954 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.03035, allocations: 4 kB / 0.7954 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.03041, allocations: 15.97 kB / 0.7955 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.03043, allocations: 6.531 kB / 0.7955 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001495/0.03058, allocations: 141.7 kB / 0.7956 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.03058, allocations: 0 / 0.7956 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003958/0.03098, allocations: 43.88 kB / 0.7956 GB, free: 4.027 MB / 0.7448 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.000431/0.03141, allocations: 172.3 kB / 0.7958 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.03164, allocations: 76.97 kB / 0.7959 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.03164, allocations: 4 kB / 0.7959 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.03172, allocations: 33.08 kB / 0.7959 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.03213, allocations: 49.12 kB / 0.796 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006873/0.03282, allocations: 283.2 kB / 0.7962 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.03294, allocations: 104.8 kB / 0.7963 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.271e-05/0.03302, allocations: 21.42 kB / 0.7964 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.03308, allocations: 29.3 kB / 0.7964 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.03308, allocations: 0 / 0.7964 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of Templates: time 0.008978/0.04206, allocations: 3.549 MB / 0.7998 GB, free: 15.76 MB / 0.7605 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.728604467003606]