Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.00108, allocations: 108.7 kB / 16.36 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 190 kB / 17.3 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.91 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2354, allocations: 114.5 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003843/0.2393, allocations: 1.742 MB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.2412, allocations: 0.9328 MB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.2413, allocations: 7.938 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.2416, allocations: 27.72 kB / 0.7874 GB, free: 424 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.000517/0.2421, allocations: 123.4 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.2426, allocations: 151.1 kB / 0.7877 GB, free: 152 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3612/0.6037, allocations: 241.2 kB / 0.7879 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.604, allocations: 31.55 kB / 0.7879 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.6042, allocations: 114.1 kB / 0.788 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.6044, allocations: 126.3 kB / 0.7882 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.6044, allocations: 16.81 kB / 0.7882 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.6047, allocations: 142.9 kB / 0.7883 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.6048, allocations: 36.58 kB / 0.7884 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.6049, allocations: 100.4 kB / 0.7885 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.6053, allocations: 281 kB / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6053, allocations: 3.375 kB / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6053, allocations: 0 / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.6053, allocations: 0 / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007267/0.606, allocations: 0.5782 MB / 0.7893 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.6061, allocations: 10.92 kB / 0.7893 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.806e-05/0.6062, allocations: 19.84 kB / 0.7893 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.6064, allocations: 247 kB / 0.7896 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.6064, allocations: 7.969 kB / 0.7896 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.6065, allocations: 16.53 kB / 0.7896 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.6066, allocations: 91.69 kB / 0.7897 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.6067, allocations: 0.9062 kB / 0.7897 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.6067, allocations: 6.656 kB / 0.7897 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6067, allocations: 0.5625 kB / 0.7897 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.6068, allocations: 54.08 kB / 0.7897 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.6075, allocations: 468.6 kB / 0.7902 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.6079, allocations: 132.2 kB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.608, allocations: 39.25 kB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.608, allocations: 1.375 kB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.6082, allocations: 117 kB / 0.7904 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.6082, allocations: 0 / 0.7904 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0003118/0.6085, allocations: 165.4 kB / 0.7906 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.6086, allocations: 62.3 kB / 0.7907 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.6087, allocations: 200.4 kB / 0.7909 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.6088, allocations: 32.05 kB / 0.7909 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.6089, allocations: 122.8 kB / 0.791 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.6089, allocations: 33.5 kB / 0.791 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.609, allocations: 61.28 kB / 0.7911 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.338e-05/0.609, allocations: 328.9 kB / 0.7914 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.6091, allocations: 30.66 kB / 0.7914 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.6093, allocations: 129.3 kB / 0.7916 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.6094, allocations: 103.8 kB / 0.7917 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6094, allocations: 0.625 kB / 0.7917 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002028/0.6096, allocations: 154.7 kB / 0.7918 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.6097, allocations: 7 kB / 0.7918 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.6097, allocations: 3.938 kB / 0.7918 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.6097, allocations: 4.125 kB / 0.7918 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.6098, allocations: 20.34 kB / 0.7918 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6098, allocations: 4.812 kB / 0.7918 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.61, allocations: 30.97 kB / 0.7919 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.61, allocations: 6.031 kB / 0.7919 GB, free: 44.57 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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 0.000101/0.6101, allocations: 137.1 kB / 0.792 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.6101, allocations: 15.69 kB / 0.792 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.6102, allocations: 26.47 kB / 0.792 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.6102, allocations: 4.453 kB / 0.7921 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.6102, allocations: 2.375 kB / 0.7921 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6102, allocations: 0.6094 kB / 0.7921 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005218/0.6107, allocations: 494.1 kB / 0.7925 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6107, allocations: 3.156 kB / 0.7925 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.6108, allocations: 8.375 kB / 0.7925 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6108, allocations: 2.625 kB / 0.7925 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.6108, allocations: 3 kB / 0.7925 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6108, allocations: 4.5 kB / 0.7925 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6108, allocations: 0 / 0.7925 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.611, allocations: 237.7 kB / 0.7928 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.611, allocations: 91.97 kB / 0.7929 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.6111, allocations: 0.9375 kB / 0.7929 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.6112, allocations: 14.38 kB / 0.7929 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.6113, allocations: 24.03 kB / 0.7929 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.6113, allocations: 7.469 kB / 0.7929 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001056/0.6114, allocations: 148.3 kB / 0.793 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6114, allocations: 0 / 0.793 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003246/0.6117, allocations: 76.16 kB / 0.7931 GB, free: 43.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0004123/0.6122, allocations: 238.9 kB / 0.7933 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.6124, allocations: 100.4 kB / 0.7934 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6124, allocations: 4.094 kB / 0.7934 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.6125, allocations: 52.36 kB / 0.7935 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.6129, allocations: 62.83 kB / 0.7936 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.6133, allocations: 289 kB / 0.7938 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.6135, allocations: 0.7229 MB / 0.7945 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.712e-05/0.6135, allocations: 23.91 kB / 0.7946 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.6136, allocations: 28.09 kB / 0.7946 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.6136, allocations: 0 / 0.7946 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.007859/0.6215, allocations: 4.214 MB / 0.7987 GB, free: 42.58 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)