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.001932/0.001932, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.00205/0.00205, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.445/3.445, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.783e-06/1.783e-06, allocations: 0 / 0.8774 GB, free: 5.562 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.961e-05, allocations: 2.312 kB / 0.8774 GB, free: 5.559 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003434/0.003464, allocations: 1.661 MB / 0.879 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.004736, allocations: 0.5718 MB / 0.8796 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.004813, allocations: 1.125 kB / 0.8796 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.005004, allocations: 28.94 kB / 0.8796 GB, free: 3.312 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.005358, allocations: 111 kB / 0.8797 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.005712, allocations: 147.6 kB / 0.8799 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.00604, allocations: 227.4 kB / 0.8801 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.006146, allocations: 19.14 kB / 0.8801 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.006341, allocations: 127.8 kB / 0.8802 GB, free: 2.703 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01884/0.02518, allocations: 2.524 MB / 0.8827 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.56e-05/0.02526, allocations: 16 kB / 0.8827 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.02541, allocations: 44.8 kB / 0.8827 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.02548, allocations: 39.77 kB / 0.8828 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.02561, allocations: 63.25 kB / 0.8828 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.02606, allocations: 219.3 kB / 0.883 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.02606, allocations: 0 / 0.883 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.623e-06/0.02606, allocations: 0 / 0.883 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.02607, allocations: 0 / 0.883 GB, free: 0.7305 MB / 0.7917 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.0009292/0.027, allocations: 0.5458 MB / 0.8836 GB, free: 140 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.02703, allocations: 12.03 kB / 0.8836 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/0.02713, allocations: 29.42 kB / 0.8836 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.02746, allocations: 180.2 kB / 0.8838 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.02749, allocations: 13.61 kB / 0.8838 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.02752, allocations: 16.38 kB / 0.8838 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.02772, allocations: 77.55 kB / 0.8839 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.02773, allocations: 1.531 kB / 0.8839 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.02774, allocations: 7.984 kB / 0.8839 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.02775, allocations: 4 kB / 0.8839 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.02786, allocations: 35.98 kB / 0.8839 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008887/0.02874, allocations: 431.4 kB / 0.8843 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.02892, allocations: 71.05 kB / 0.8844 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.02898, allocations: 31.67 kB / 0.8844 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.029, allocations: 0 / 0.8844 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.02917, allocations: 97.11 kB / 0.8845 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.02917, allocations: 4 kB / 0.8845 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0003284/0.0295, allocations: 129.5 kB / 0.8847 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.02957, allocations: 55.41 kB / 0.8847 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.02987, allocations: 266.6 kB / 0.885 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.02991, allocations: 33.7 kB / 0.885 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.03005, allocations: 174.8 kB / 0.8852 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.03009, allocations: 23.84 kB / 0.8852 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.03021, allocations: 63.34 kB / 0.8853 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002843/0.03049, allocations: 0.5001 MB / 0.8857 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.03057, allocations: 31.92 kB / 0.8858 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.03094, allocations: 246.8 kB / 0.886 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.0311, allocations: 109.2 kB / 0.8861 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.0311, allocations: 0 / 0.8861 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002627/0.03137, allocations: 137.5 kB / 0.8862 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.03138, allocations: 4 kB / 0.8862 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.03139, allocations: 4 kB / 0.8862 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.03141, allocations: 4.125 kB / 0.8863 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.03152, allocations: 23.94 kB / 0.8863 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.03153, allocations: 3.984 kB / 0.8863 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.03171, allocations: 23.83 kB / 0.8863 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.03173, allocations: 4 kB / 0.8863 GB, free: 13.09 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 0.0001801/0.03191, allocations: 180.6 kB / 0.8865 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.03195, allocations: 19.91 kB / 0.8865 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.032, allocations: 17.47 kB / 0.8865 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.03201, allocations: 0 / 0.8865 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.03201, allocations: 0 / 0.8865 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.03202, allocations: 15.86 kB / 0.8865 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/0.03267, allocations: 429.2 kB / 0.8869 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.03268, allocations: 4 kB / 0.8869 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.0327, allocations: 7.938 kB / 0.8869 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.0327, allocations: 0 / 0.8869 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.03273, allocations: 15.92 kB / 0.887 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.03273, allocations: 0 / 0.887 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.03273, allocations: 0 / 0.887 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.03302, allocations: 255.8 kB / 0.8872 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.03305, allocations: 11.91 kB / 0.8872 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.03308, allocations: 15.94 kB / 0.8872 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.882e-05/0.03318, allocations: 7.984 kB / 0.8872 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.03324, allocations: 15.97 kB / 0.8873 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.03327, allocations: 4 kB / 0.8873 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001786/0.03344, allocations: 186.2 kB / 0.8874 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.03344, allocations: 0 / 0.8874 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003041/0.03375, allocations: 39.94 kB / 0.8875 GB, free: 11.81 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.0005219/0.03427, allocations: 175.1 kB / 0.8876 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.03452, allocations: 99.72 kB / 0.8877 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.03452, allocations: 0 / 0.8877 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.495e-05/0.03462, allocations: 47.61 kB / 0.8878 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.03503, allocations: 55.77 kB / 0.8878 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.03571, allocations: 280.9 kB / 0.8881 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.03584, allocations: 102.3 kB / 0.8882 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.014e-05/0.03591, allocations: 17.48 kB / 0.8882 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.03597, allocations: 24.48 kB / 0.8882 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of SimCode: time 8.82e-07/0.03597, allocations: 0 / 0.8882 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of Templates: time 0.008839/0.04481, allocations: 3.559 MB / 0.8917 GB, free: 7.477 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.45701252296567]