Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002408/0.002408, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 443.4 MB / 0.7304 GB, free: 14.04 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.89 kB / 1.059 GB, free: 440 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3078, allocations: 160.7 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002978/0.3107, allocations: 1.643 MB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3118, allocations: 0.585 MB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.3119, allocations: 4 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.3121, allocations: 27.73 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.3125, allocations: 115.5 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.3128, allocations: 139.6 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.3131, allocations: 219.5 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3132, allocations: 25.48 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3133, allocations: 99.73 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01191/0.3252, allocations: 1.568 MB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.3253, allocations: 16 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.3254, allocations: 39.97 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.484e-05/0.3255, allocations: 35.84 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3256, allocations: 79.62 kB / 1.221 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.326, allocations: 199.2 kB / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.326, allocations: 0 / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.326, allocations: 0 / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.326, allocations: 8 kB / 1.221 GB, free: 11 MB / 0.9669 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.0008157/0.3268, allocations: 0.5253 MB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3269, allocations: 8.031 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.984e-05/0.327, allocations: 20.84 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3273, allocations: 236 kB / 1.222 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3273, allocations: 7.938 kB / 1.222 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.3273, allocations: 19.98 kB / 1.222 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.3275, allocations: 77.67 kB / 1.222 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3275, allocations: 0 / 1.222 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3275, allocations: 0 / 1.222 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3275, allocations: 7.984 kB / 1.222 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.954e-05/0.3276, allocations: 39.98 kB / 1.222 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007855/0.3284, allocations: 448.4 kB / 1.222 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.3286, allocations: 62.55 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.3286, allocations: 24.86 kB / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3287, allocations: 0 / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.3289, allocations: 95.48 kB / 1.222 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.3289, allocations: 0 / 1.222 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.000297/0.3292, allocations: 137.4 kB / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3292, allocations: 55.41 kB / 1.222 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.3294, allocations: 191.1 kB / 1.223 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3295, allocations: 33.64 kB / 1.223 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.788e-05/0.3296, allocations: 124.1 kB / 1.223 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.3296, allocations: 23.84 kB / 1.223 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.774e-05/0.3297, allocations: 53.67 kB / 1.223 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3298, allocations: 330.8 kB / 1.223 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.3299, allocations: 35.92 kB / 1.223 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.3301, allocations: 110.2 kB / 1.223 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.3302, allocations: 88.22 kB / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3302, allocations: 0 / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002184/0.3304, allocations: 137.2 kB / 1.224 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3305, allocations: 4 kB / 1.224 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3305, allocations: 7.938 kB / 1.224 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3305, allocations: 0 / 1.224 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.3306, allocations: 12.12 kB / 1.224 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.3306, allocations: 7.984 kB / 1.224 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.3307, allocations: 39.75 kB / 1.224 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.3307, allocations: 4 kB / 1.224 GB, free: 7.801 MB / 0.9669 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.0001273/0.3309, allocations: 129.8 kB / 1.224 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.3309, allocations: 11.91 kB / 1.224 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.3309, allocations: 21.34 kB / 1.224 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.331, allocations: 4 kB / 1.224 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.331, allocations: 0 / 1.224 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.331, allocations: 7.984 kB / 1.224 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.3315, allocations: 426.3 kB / 1.224 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3315, allocations: 0 / 1.224 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.428e-05/0.3315, allocations: 8 kB / 1.224 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.3315, allocations: 3.984 kB / 1.224 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3315, allocations: 0 / 1.224 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3315, allocations: 3.938 kB / 1.224 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3315, allocations: 4 kB / 1.224 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.3318, allocations: 211.3 kB / 1.224 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.3318, allocations: 85.06 kB / 1.224 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3318, allocations: 4 kB / 1.224 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.3319, allocations: 7.984 kB / 1.225 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.332, allocations: 11.98 kB / 1.225 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.332, allocations: 11.98 kB / 1.225 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001176/0.3321, allocations: 128.1 kB / 1.225 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3321, allocations: 4 kB / 1.225 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002945/0.3324, allocations: 51.88 kB / 1.225 GB, free: 6.586 MB / 0.9669 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.000407/0.3328, allocations: 170.1 kB / 1.225 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.3331, allocations: 75.84 kB / 1.225 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3331, allocations: 4 kB / 1.225 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.41e-05/0.3331, allocations: 31.98 kB / 1.225 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.3335, allocations: 60.81 kB / 1.225 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.3341, allocations: 282.7 kB / 1.225 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.3344, allocations: 0.7124 MB / 1.226 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.947e-05/0.3345, allocations: 29.45 kB / 1.226 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.3345, allocations: 19.44 kB / 1.226 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.3345, allocations: 4 kB / 1.226 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of Templates: time 0.00725/0.3418, allocations: 3.324 MB / 1.229 GB, free: 1.887 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.02161927241832]