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.001111/0.00111, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 195.6 kB / 16.64 MB, free: 6.438 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.315/1.315, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.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.684/1.684, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001482/0.001482, allocations: 73.89 kB / 0.6723 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.216, allocations: 114.5 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003087/0.2192, allocations: 1.742 MB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2207, allocations: 0.9338 MB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.2208, allocations: 8 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.2209, allocations: 23.72 kB / 0.7868 GB, free: 10.06 MB / 0.6075 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.0003607/0.2213, allocations: 115.5 kB / 0.7869 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.2217, allocations: 154.4 kB / 0.787 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.222, allocations: 247.3 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.2221, allocations: 33.66 kB / 0.7873 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.2223, allocations: 119.6 kB / 0.7874 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.2225, allocations: 119.6 kB / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.2225, allocations: 16 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.2228, allocations: 139.8 kB / 0.7877 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.2229, allocations: 47.78 kB / 0.7877 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.223, allocations: 87.56 kB / 0.7878 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.2233, allocations: 291.1 kB / 0.7881 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2234, allocations: 4 kB / 0.7881 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.123e-06/0.2234, allocations: 0 / 0.7881 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2234, allocations: 0 / 0.7881 GB, free: 8.715 MB / 0.6075 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.0008244/0.2242, allocations: 0.5645 MB / 0.7886 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2243, allocations: 15.91 kB / 0.7886 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.2243, allocations: 28.66 kB / 0.7887 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.2246, allocations: 248.1 kB / 0.7889 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2246, allocations: 12 kB / 0.7889 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.2247, allocations: 12 kB / 0.7889 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.2249, allocations: 100.3 kB / 0.789 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.2249, allocations: 0 / 0.789 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2249, allocations: 4 kB / 0.789 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2249, allocations: 4 kB / 0.789 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.225, allocations: 47.97 kB / 0.7891 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007648/0.2258, allocations: 464.3 kB / 0.7895 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.2262, allocations: 142.7 kB / 0.7897 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.2263, allocations: 36.84 kB / 0.7897 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.2263, allocations: 11.97 kB / 0.7897 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.2265, allocations: 106.4 kB / 0.7898 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.2265, allocations: 0 / 0.7898 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003199/0.2269, allocations: 165.3 kB / 0.79 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2269, allocations: 59.39 kB / 0.79 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.2271, allocations: 195.7 kB / 0.7902 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.2271, allocations: 33.7 kB / 0.7902 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.2272, allocations: 124.5 kB / 0.7904 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.2272, allocations: 35.55 kB / 0.7904 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.522e-05/0.2273, allocations: 57.67 kB / 0.7904 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.2274, allocations: 330.8 kB / 0.7908 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.2275, allocations: 27.98 kB / 0.7908 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.2277, allocations: 134 kB / 0.7909 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.2279, allocations: 115.4 kB / 0.791 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2279, allocations: 4 kB / 0.791 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002224/0.2281, allocations: 145.3 kB / 0.7912 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2281, allocations: 8 kB / 0.7912 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2281, allocations: 0 / 0.7912 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2282, allocations: 4 kB / 0.7912 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.2282, allocations: 19.92 kB / 0.7912 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2283, allocations: 0 / 0.7912 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.2285, allocations: 32.05 kB / 0.7912 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.2285, allocations: 8 kB / 0.7912 GB, free: 5.203 MB / 0.6075 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.0001166/0.2286, allocations: 144.1 kB / 0.7914 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.2286, allocations: 19.72 kB / 0.7914 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.2287, allocations: 17.88 kB / 0.7914 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2287, allocations: 3.938 kB / 0.7914 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2287, allocations: 3.984 kB / 0.7914 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2287, allocations: 0 / 0.7914 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006346/0.2294, allocations: 498.1 kB / 0.7919 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2294, allocations: 0 / 0.7919 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.2294, allocations: 7.984 kB / 0.7919 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2294, allocations: 0 / 0.7919 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.2294, allocations: 4 kB / 0.7919 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2294, allocations: 3.938 kB / 0.7919 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2294, allocations: 0 / 0.7919 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.2297, allocations: 242.2 kB / 0.7921 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.2298, allocations: 92.86 kB / 0.7922 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.2298, allocations: 0 / 0.7922 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.2299, allocations: 19.92 kB / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.23, allocations: 19.97 kB / 0.7923 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.23, allocations: 11.98 kB / 0.7923 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001238/0.2302, allocations: 139.3 kB / 0.7924 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2302, allocations: 0 / 0.7924 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003518/0.2305, allocations: 79.92 kB / 0.7925 GB, free: 3.824 MB / 0.6075 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.0004747/0.231, allocations: 234.1 kB / 0.7927 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.2313, allocations: 103.7 kB / 0.7928 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2313, allocations: 0 / 0.7928 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.2314, allocations: 55.92 kB / 0.7929 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.2318, allocations: 68.55 kB / 0.7929 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.2324, allocations: 279.4 kB / 0.7932 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.2327, allocations: 0.7203 MB / 0.7939 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.562e-05/0.2328, allocations: 29.47 kB / 0.7939 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.2329, allocations: 23.44 kB / 0.7939 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2329, allocations: 0 / 0.7939 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of Templates: time 0.007922/0.2408, allocations: 4.194 MB / 0.798 GB, free: 14.15 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)