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.001871/0.001871, allocations: 88.72 kB / 19.44 MB, free: 356 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.002453/0.002453, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.469/1.469, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.252/3.252, allocations: 429.6 MB / 0.673 GB, free: 3.891 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.643e-06/1.643e-06, allocations: 0 / 0.8775 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.953e-05, allocations: 3.188 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003424/0.003454, allocations: 1.636 MB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.0048, allocations: 0.5696 MB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.698e-05/0.004887, allocations: 0.6562 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.00509, allocations: 28.64 kB / 0.8797 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.005518, allocations: 120.8 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.005956, allocations: 151.6 kB / 0.88 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.006332, allocations: 212.5 kB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.006459, allocations: 17.73 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.006732, allocations: 144.7 kB / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01546/0.02219, allocations: 2.509 MB / 0.8828 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.986e-05/0.02227, allocations: 16 kB / 0.8828 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.0224, allocations: 37.47 kB / 0.8829 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.266e-05/0.02248, allocations: 39.83 kB / 0.8829 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.02261, allocations: 51.88 kB / 0.8829 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.02307, allocations: 227.3 kB / 0.8832 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.02307, allocations: 0.5312 kB / 0.8832 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/0.02307, allocations: 1.438 kB / 0.8832 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.02308, allocations: 0 / 0.8832 GB, free: 1.703 MB / 0.8386 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.0008879/0.02397, allocations: 458 kB / 0.8836 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.024, allocations: 8.031 kB / 0.8836 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.02412, allocations: 36.78 kB / 0.8836 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.02441, allocations: 166.9 kB / 0.8838 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.02444, allocations: 12.38 kB / 0.8838 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.02449, allocations: 12.38 kB / 0.8838 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.02468, allocations: 89.59 kB / 0.8839 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.02469, allocations: 0 / 0.8839 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.0247, allocations: 0 / 0.8839 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.02471, allocations: 0 / 0.8839 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.02482, allocations: 47.86 kB / 0.884 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.02562, allocations: 352.2 kB / 0.8843 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.02578, allocations: 70.48 kB / 0.8844 GB, free: 376 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.02584, allocations: 28.86 kB / 0.8844 GB, free: 344 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.02586, allocations: 0 / 0.8844 GB, free: 344 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.02603, allocations: 87.31 kB / 0.8845 GB, free: 244 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.02603, allocations: 0 / 0.8845 GB, free: 244 kB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.000335/0.02636, allocations: 137.7 kB / 0.8846 GB, free: 100 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.02643, allocations: 55.41 kB / 0.8847 GB, free: 32 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.02669, allocations: 195.3 kB / 0.8848 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.02673, allocations: 25.7 kB / 0.8849 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.02684, allocations: 120.1 kB / 0.885 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.02687, allocations: 35.69 kB / 0.885 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.847e-05/0.02697, allocations: 49.69 kB / 0.8851 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.02715, allocations: 326.8 kB / 0.8854 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.02721, allocations: 27.98 kB / 0.8854 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.02756, allocations: 226.5 kB / 0.8856 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.02771, allocations: 93.78 kB / 0.8857 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.02771, allocations: 0 / 0.8857 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002687/0.02798, allocations: 141.5 kB / 0.8858 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.028, allocations: 8 kB / 0.8858 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.028, allocations: 0 / 0.8858 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.02802, allocations: 4 kB / 0.8858 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.757e-05/0.02811, allocations: 15.94 kB / 0.8859 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.02812, allocations: 4 kB / 0.8859 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.02832, allocations: 19.88 kB / 0.8859 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.02833, allocations: 8 kB / 0.8859 GB, free: 14.64 MB / 0.8542 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.0001612/0.0285, allocations: 141.8 kB / 0.886 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.02853, allocations: 15.91 kB / 0.886 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.02857, allocations: 17.47 kB / 0.8861 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.02857, allocations: 4 kB / 0.8861 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.02858, allocations: 0 / 0.8861 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.02858, allocations: 7.922 kB / 0.8861 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.02916, allocations: 362.4 kB / 0.8864 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.02916, allocations: 4 kB / 0.8864 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.02918, allocations: 48 / 0.8864 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.02919, allocations: 3.984 kB / 0.8864 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.02921, allocations: 15.92 kB / 0.8864 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.02921, allocations: 0 / 0.8864 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.02921, allocations: 0 / 0.8864 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.02949, allocations: 211.4 kB / 0.8866 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.02952, allocations: 11.91 kB / 0.8867 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.02955, allocations: 7.938 kB / 0.8867 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.02965, allocations: 7.984 kB / 0.8867 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.02973, allocations: 19.97 kB / 0.8867 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.02975, allocations: 4 kB / 0.8867 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001504/0.0299, allocations: 138.3 kB / 0.8868 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.0299, allocations: 7.938 kB / 0.8868 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003341/0.03024, allocations: 43.89 kB / 0.8869 GB, free: 13.59 MB / 0.8542 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.0004283/0.03067, allocations: 163.7 kB / 0.887 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.03087, allocations: 75.91 kB / 0.8871 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.03088, allocations: 0 / 0.8871 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.689e-05/0.03095, allocations: 31.94 kB / 0.8871 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.03139, allocations: 51.92 kB / 0.8872 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.03209, allocations: 279.9 kB / 0.8874 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.03223, allocations: 106.1 kB / 0.8875 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.815e-05/0.03231, allocations: 25.42 kB / 0.8876 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.03237, allocations: 20.48 kB / 0.8876 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.03237, allocations: 0 / 0.8876 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.008459/0.04083, allocations: 3.549 MB / 0.8911 GB, free: 9.332 MB / 0.8542 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 800] 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.247703205095604]