Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.0009839/0.0009839, allocations: 80.39 kB / 21.47 MB, free: 3.027 MB / 18.57 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.001142/0.001142, allocations: 172 kB / 24.87 MB, free: 8.875 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 0.9509/0.9509, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.781/1.781, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.2e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002831/0.002853, allocations: 1.781 MB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.004085, allocations: 0.9268 MB / 0.7909 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.00416, allocations: 0.7812 kB / 0.7909 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.00433, allocations: 27.66 kB / 0.7909 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.004616, allocations: 124.7 kB / 0.7911 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.004876, allocations: 155.6 kB / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.005092, allocations: 250.2 kB / 0.7914 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.005205, allocations: 29.72 kB / 0.7915 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01365/0.01886, allocations: 5.246 MB / 0.7966 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.01904, allocations: 99.72 kB / 0.7967 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.01907, allocations: 16.69 kB / 0.7967 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.063e-05/0.01916, allocations: 31.94 kB / 0.7967 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.01922, allocations: 40.64 kB / 0.7968 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.01929, allocations: 59.81 kB / 0.7968 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.01958, allocations: 184.5 kB / 0.797 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01959, allocations: 0 / 0.797 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/0.01959, allocations: 0 / 0.797 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.01959, allocations: 0.5938 kB / 0.797 GB, free: 5.207 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005569/0.02015, allocations: 0.5825 MB / 0.7976 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.02018, allocations: 8.031 kB / 0.7976 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.02024, allocations: 34.64 kB / 0.7976 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.02042, allocations: 180.3 kB / 0.7978 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.02044, allocations: 12.38 kB / 0.7978 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.02046, allocations: 19.94 kB / 0.7978 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.02057, allocations: 105.7 kB / 0.7979 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.02058, allocations: 0 / 0.7979 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.02059, allocations: 0 / 0.7979 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.02059, allocations: 6.344 kB / 0.7979 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.899e-05/0.02063, allocations: 23.97 kB / 0.798 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.02115, allocations: 0.5164 MB / 0.7985 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.02125, allocations: 94.2 kB / 0.7985 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/0.02128, allocations: 27.42 kB / 0.7986 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.02129, allocations: 4.5 kB / 0.7986 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.02141, allocations: 125 kB / 0.7987 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.173e-06/0.02141, allocations: 0 / 0.7987 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0002053/0.02162, allocations: 133.5 kB / 0.7988 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.02166, allocations: 81.05 kB / 0.7989 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.02185, allocations: 243.8 kB / 0.7991 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.02187, allocations: 34.55 kB / 0.7992 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.02194, allocations: 183.2 kB / 0.7993 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.02196, allocations: 28.83 kB / 0.7994 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.02203, allocations: 71.3 kB / 0.7994 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.02213, allocations: 0.4962 MB / 0.7999 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.02215, allocations: 16.48 kB / 0.7999 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.02232, allocations: 263.9 kB / 0.8002 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.005e-05/0.0224, allocations: 113.7 kB / 0.8003 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.0224, allocations: 4 kB / 0.8003 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001411/0.02254, allocations: 137.4 kB / 0.8004 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.02256, allocations: 4 kB / 0.8004 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.02257, allocations: 4 kB / 0.8004 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.02258, allocations: 7.938 kB / 0.8004 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.02264, allocations: 21.42 kB / 0.8005 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.02265, allocations: 4 kB / 0.8005 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.02274, allocations: 27.88 kB / 0.8005 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.02275, allocations: 4.969 kB / 0.8005 GB, free: 1.297 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 9.162e-05/0.02284, allocations: 174.5 kB / 0.8007 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.023, allocations: 32.88 kB / 0.8007 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.02302, allocations: 17.47 kB / 0.8007 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.02303, allocations: 0 / 0.8007 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.02303, allocations: 5.125 kB / 0.8007 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.02303, allocations: 0 / 0.8007 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.02336, allocations: 399 kB / 0.8011 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.02336, allocations: 4 kB / 0.8011 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.02337, allocations: 7.938 kB / 0.8011 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.02338, allocations: 8.281 kB / 0.8011 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.02339, allocations: 4 kB / 0.8011 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.02339, allocations: 0 / 0.8011 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.02339, allocations: 4 kB / 0.8011 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.02353, allocations: 271.4 kB / 0.8014 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.02355, allocations: 15.84 kB / 0.8014 GB, free: 324 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.02356, allocations: 4.094 kB / 0.8014 GB, free: 320 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.019e-05/0.02362, allocations: 11.98 kB / 0.8014 GB, free: 308 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.02367, allocations: 27.89 kB / 0.8014 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.02369, allocations: 7.984 kB / 0.8015 GB, free: 272 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.175e-05/0.02375, allocations: 176.1 kB / 0.8016 GB, free: 96 kB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02375, allocations: 4 kB / 0.8016 GB, free: 92 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001956/0.02395, allocations: 39.95 kB / 0.8017 GB, free: 52 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003115/0.02426, allocations: 174.9 kB / 0.8018 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.02438, allocations: 87.5 kB / 0.8019 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02439, allocations: 0 / 0.8019 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.02443, allocations: 39.61 kB / 0.802 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.02471, allocations: 74 kB / 0.802 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.02511, allocations: 314.6 kB / 0.8023 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.02515, allocations: 71.98 kB / 0.8024 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.246e-05/0.0252, allocations: 21.62 kB / 0.8024 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.02536, allocations: 146.1 kB / 0.8025 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of SimCode: time 8.72e-07/0.02536, allocations: 0 / 0.8025 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of Templates: time 0.006283/0.03164, allocations: 4.214 MB / 0.8067 GB, free: 10.95 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.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: 5.199432161636651]