Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007796/0.0007796, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001159/0.001939, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007343/0.0007343, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009641/0.001698, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.054/1.054, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09611/1.15, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.824/1.824, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4586/2.283, allocations: 123.3 MB / 0.728 GB, free: 5.852 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7293 GB, free: 4.605 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.473e-05, allocations: 10.25 kB / 0.7293 GB, free: 4.594 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.001825/0.00184, allocations: 1.719 MB / 0.731 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006847/0.002524, allocations: 0.5893 MB / 0.7316 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.002577, allocations: 4.656 kB / 0.7316 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.802e-05/0.002675, allocations: 33.08 kB / 0.7316 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.002857, allocations: 100 kB / 0.7317 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.003084, allocations: 161.4 kB / 0.7318 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.003303, allocations: 219.2 kB / 0.732 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.866e-05/0.003392, allocations: 20.36 kB / 0.7321 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/0.01604, allocations: 4.972 MB / 0.7369 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.0162, allocations: 89.55 kB / 0.737 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.01622, allocations: 12 kB / 0.737 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.697e-05/0.0163, allocations: 39.91 kB / 0.7371 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.01634, allocations: 19.94 kB / 0.7371 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/0.0164, allocations: 39.81 kB / 0.7371 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.01662, allocations: 144.7 kB / 0.7373 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.01664, allocations: 0 / 0.7373 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.31e-07/0.01664, allocations: 0 / 0.7373 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.01665, allocations: 0.75 kB / 0.7373 GB, free: 14.34 MB / 0.7136 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.0005232/0.01717, allocations: 459.9 kB / 0.7377 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.0172, allocations: 9.25 kB / 0.7377 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.01724, allocations: 20.91 kB / 0.7377 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.0174, allocations: 162.6 kB / 0.7379 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.01741, allocations: 17.28 kB / 0.7379 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.01743, allocations: 12.38 kB / 0.7379 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.649e-05/0.01752, allocations: 65.59 kB / 0.738 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.01752, allocations: 0.5 kB / 0.738 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.01753, allocations: 14.45 kB / 0.738 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.01754, allocations: 4 kB / 0.738 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.01757, allocations: 15.98 kB / 0.738 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.01792, allocations: 254.4 kB / 0.7382 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.01799, allocations: 46.55 kB / 0.7383 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.01801, allocations: 12.86 kB / 0.7383 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.01803, allocations: 7.984 kB / 0.7383 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.226e-05/0.01812, allocations: 81.14 kB / 0.7384 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.01812, allocations: 0 / 0.7384 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0001156/0.01823, allocations: 77.66 kB / 0.7385 GB, free: 13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.01827, allocations: 67.33 kB / 0.7385 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.338e-05/0.01836, allocations: 175.4 kB / 0.7387 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.01838, allocations: 34.73 kB / 0.7387 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.01843, allocations: 108.1 kB / 0.7388 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.01845, allocations: 19.84 kB / 0.7388 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.0185, allocations: 54.59 kB / 0.7389 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.01857, allocations: 334.7 kB / 0.7392 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.01859, allocations: 17.23 kB / 0.7392 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.01872, allocations: 212.5 kB / 0.7394 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.64e-05/0.01878, allocations: 73.27 kB / 0.7395 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01878, allocations: 0 / 0.7395 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.017e-05/0.01887, allocations: 101.5 kB / 0.7396 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.01888, allocations: 7.984 kB / 0.7396 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.01889, allocations: 2.344 kB / 0.7396 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.01889, allocations: 4 kB / 0.7396 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.476e-05/0.01895, allocations: 16 kB / 0.7396 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01895, allocations: 7.938 kB / 0.7396 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.01903, allocations: 27.88 kB / 0.7397 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.01903, allocations: 10.36 kB / 0.7397 GB, free: 11.64 MB / 0.7136 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 6.913e-05/0.0191, allocations: 128.6 kB / 0.7398 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.01911, allocations: 11.98 kB / 0.7398 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.01914, allocations: 21.45 kB / 0.7398 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01914, allocations: 0 / 0.7398 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.01914, allocations: 0 / 0.7398 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01915, allocations: 0.875 kB / 0.7398 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.01936, allocations: 283.1 kB / 0.7401 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01936, allocations: 0 / 0.7401 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.01938, allocations: 12.56 kB / 0.7401 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.01939, allocations: 15.89 kB / 0.7401 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.01939, allocations: 0.8125 kB / 0.7401 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-06/0.0194, allocations: 4 kB / 0.7401 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.0194, allocations: 4.531 kB / 0.7401 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.0194, allocations: 0 / 0.7401 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.753e-05/0.01948, allocations: 160.2 kB / 0.7403 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.01949, allocations: 9.5 kB / 0.7403 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.083e-05/0.01953, allocations: 7.984 kB / 0.7403 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.01956, allocations: 15.92 kB / 0.7403 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.01958, allocations: 7.984 kB / 0.7403 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.01961, allocations: 57.02 kB / 0.7404 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01961, allocations: 0 / 0.7404 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001554/0.01977, allocations: 39.89 kB / 0.7404 GB, free: 10.83 MB / 0.7136 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.0002921/0.02006, allocations: 184.8 kB / 0.7406 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.157e-05/0.02015, allocations: 60.39 kB / 0.7407 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.02016, allocations: 4 kB / 0.7407 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.02019, allocations: 32.78 kB / 0.7407 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.02038, allocations: 62.41 kB / 0.7408 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.02085, allocations: 266.2 kB / 0.741 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.02088, allocations: 68 kB / 0.7411 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.298e-05/0.02093, allocations: 26.39 kB / 0.7411 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.02107, allocations: 109.2 kB / 0.7412 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.02107, allocations: 0.5625 kB / 0.7412 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of Templates: time 0.005241/0.02631, allocations: 3.688 MB / 0.7448 GB, free: 6.523 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.973568229004741]