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.002055/0.002055, allocations: 79.05 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002269/0.002269, allocations: 162 kB / 22.46 MB, free: 5.375 MB / 14.72 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.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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 2.882/2.882, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 / 1 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.066e-05, allocations: 2.281 kB / 1 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003435/0.003465, allocations: 1.636 MB / 1.002 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.004838, allocations: 0.5692 MB / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.004976, allocations: 3.938 kB / 1.002 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.005197, allocations: 35.7 kB / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.005695, allocations: 111.4 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.006163, allocations: 142.5 kB / 1.003 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.006584, allocations: 223.4 kB / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.006724, allocations: 25.72 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.007008, allocations: 127.8 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01304/0.02005, allocations: 1.557 MB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.948e-05/0.02014, allocations: 16 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.02027, allocations: 31.94 kB / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.839e-05/0.02035, allocations: 35.89 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.02047, allocations: 59.81 kB / 1.005 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.02098, allocations: 223.3 kB / 1.005 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.02098, allocations: 0 / 1.005 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/0.02099, allocations: 0 / 1.005 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.021, allocations: 0 / 1.005 GB, free: 2.977 MB / 0.9512 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.0009313/0.02193, allocations: 464.8 kB / 1.005 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.02198, allocations: 11.97 kB / 1.005 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.015e-05/0.02207, allocations: 16.84 kB / 1.005 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.02241, allocations: 186 kB / 1.005 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.02243, allocations: 8.375 kB / 1.005 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.02247, allocations: 8.375 kB / 1.005 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.02266, allocations: 85.59 kB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.02267, allocations: 0 / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.02269, allocations: 4 kB / 1.006 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.0227, allocations: 11.98 kB / 1.006 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.02281, allocations: 47.91 kB / 1.006 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009313/0.02375, allocations: 340.2 kB / 1.006 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.02391, allocations: 62.55 kB / 1.006 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.02398, allocations: 28.84 kB / 1.006 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.024, allocations: 0 / 1.006 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.02422, allocations: 95.5 kB / 1.006 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.02422, allocations: 0 / 1.006 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0003403/0.02456, allocations: 125.5 kB / 1.006 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.02462, allocations: 55.41 kB / 1.006 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.02485, allocations: 199.2 kB / 1.006 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.0249, allocations: 29.7 kB / 1.006 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.02501, allocations: 120.1 kB / 1.007 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.02504, allocations: 27.75 kB / 1.007 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.02515, allocations: 57.67 kB / 1.007 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.02531, allocations: 330.8 kB / 1.007 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.02537, allocations: 35.92 kB / 1.007 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.02569, allocations: 221 kB / 1.007 GB, free: 232 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.02583, allocations: 88.22 kB / 1.007 GB, free: 128 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02583, allocations: 0 / 1.007 GB, free: 128 kB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00028/0.02611, allocations: 135.9 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.02613, allocations: 4.125 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.02613, allocations: 4 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.02615, allocations: 4 kB / 1.007 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.214e-05/0.02623, allocations: 12 kB / 1.007 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.02624, allocations: 7.922 kB / 1.007 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.02644, allocations: 27.75 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.02646, allocations: 8 kB / 1.007 GB, free: 15.92 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.0001422/0.0266, allocations: 133.8 kB / 1.008 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.02663, allocations: 15.91 kB / 1.008 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.02667, allocations: 13.47 kB / 1.008 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.02668, allocations: 4 kB / 1.008 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.02668, allocations: 4 kB / 1.008 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.02669, allocations: 7.922 kB / 1.008 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.02723, allocations: 354.1 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.02724, allocations: 4 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.02727, allocations: 11.94 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.02727, allocations: 0 / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.02729, allocations: 7.922 kB / 1.008 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.02729, allocations: 4 kB / 1.008 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.02729, allocations: 4 kB / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.02755, allocations: 203.3 kB / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.02757, allocations: 15.91 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.0276, allocations: 3.938 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.0277, allocations: 7.984 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.02778, allocations: 19.97 kB / 1.008 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.0278, allocations: 4 kB / 1.008 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001412/0.02794, allocations: 141.7 kB / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02794, allocations: 0 / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003134/0.02826, allocations: 39.94 kB / 1.008 GB, free: 14.88 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.0004384/0.02869, allocations: 171.8 kB / 1.009 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.02891, allocations: 83.84 kB / 1.009 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.02892, allocations: 0 / 1.009 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.02899, allocations: 35.92 kB / 1.009 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.02939, allocations: 42.09 kB / 1.009 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006664/0.03006, allocations: 276.3 kB / 1.009 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.03016, allocations: 106.3 kB / 1.009 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.507e-05/0.03024, allocations: 25.45 kB / 1.009 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.0303, allocations: 20.5 kB / 1.009 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.0303, allocations: 0 / 1.009 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of Templates: time 0.008571/0.03887, allocations: 3.515 MB / 1.013 GB, free: 10.65 MB / 0.9669 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.088506869971752]