Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001076, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008369/0.008369, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.378/1.378, allocations: 205.4 MB / 222.4 MB, free: 5.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.699/1.699, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.000846/0.000846, allocations: 12.06 kB / 0.6743 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2206, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002212/0.2228, allocations: 1.535 MB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.2246, allocations: 0.968 MB / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.2248, allocations: 4 kB / 0.7903 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.225, allocations: 27.78 kB / 0.7903 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.2254, allocations: 83.67 kB / 0.7904 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.2258, allocations: 147.7 kB / 0.7906 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.2261, allocations: 235.3 kB / 0.7908 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.2263, allocations: 33.66 kB / 0.7908 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.2264, allocations: 95.61 kB / 0.7909 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04664/0.2731, allocations: 3.31 MB / 0.7941 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.2732, allocations: 15.98 kB / 0.7942 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.2733, allocations: 24 kB / 0.7942 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.2734, allocations: 27.91 kB / 0.7942 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.2735, allocations: 117.2 kB / 0.7943 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.2738, allocations: 199.3 kB / 0.7945 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2738, allocations: 0 / 0.7945 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2738, allocations: 4 kB / 0.7945 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2738, allocations: 0 / 0.7945 GB, free: 5.57 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.0007599/0.2746, allocations: 0.5139 MB / 0.795 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2746, allocations: 12.03 kB / 0.795 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.2747, allocations: 20.75 kB / 0.795 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.275, allocations: 243.4 kB / 0.7953 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.275, allocations: 15.98 kB / 0.7953 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.275, allocations: 12 kB / 0.7953 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2752, allocations: 96.53 kB / 0.7954 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2752, allocations: 0 / 0.7954 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.2752, allocations: 3.938 kB / 0.7954 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2753, allocations: 4 kB / 0.7954 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.2754, allocations: 51.97 kB / 0.7955 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.2761, allocations: 480.3 kB / 0.7959 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.2765, allocations: 162.6 kB / 0.7961 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.2766, allocations: 36.84 kB / 0.7961 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.2766, allocations: 4 kB / 0.7961 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.2768, allocations: 110.5 kB / 0.7962 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2768, allocations: 0 / 0.7962 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.000296/0.2771, allocations: 169.4 kB / 0.7964 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.2771, allocations: 55.41 kB / 0.7964 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.2773, allocations: 198.4 kB / 0.7966 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.2774, allocations: 37.69 kB / 0.7966 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.2775, allocations: 120.5 kB / 0.7968 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.2775, allocations: 35.56 kB / 0.7968 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.2775, allocations: 29.7 kB / 0.7968 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2776, allocations: 330.8 kB / 0.7971 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.2777, allocations: 31.98 kB / 0.7972 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.2779, allocations: 127.6 kB / 0.7973 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.2781, allocations: 103.7 kB / 0.7974 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2781, allocations: 0 / 0.7974 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002229/0.2783, allocations: 157.2 kB / 0.7975 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2783, allocations: 4 kB / 0.7975 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2784, allocations: 0 / 0.7975 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2784, allocations: 4 kB / 0.7976 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.2784, allocations: 15.94 kB / 0.7976 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2785, allocations: 4.125 kB / 0.7976 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.2787, allocations: 39.81 kB / 0.7976 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.2787, allocations: 4 kB / 0.7976 GB, free: 2.117 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.0001174/0.2788, allocations: 143.5 kB / 0.7977 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.2789, allocations: 15.81 kB / 0.7978 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.2789, allocations: 21.86 kB / 0.7978 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2789, allocations: 11.94 kB / 0.7978 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2789, allocations: 0 / 0.7978 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2789, allocations: 0 / 0.7978 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.2796, allocations: 0.502 MB / 0.7983 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2796, allocations: 0 / 0.7983 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.2796, allocations: 4 kB / 0.7983 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2796, allocations: 4 kB / 0.7983 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.2796, allocations: 3.938 kB / 0.7983 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2797, allocations: 3.938 kB / 0.7983 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2797, allocations: 0 / 0.7983 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.2799, allocations: 238.4 kB / 0.7985 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.2799, allocations: 96.91 kB / 0.7986 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.28, allocations: 4 kB / 0.7986 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.2801, allocations: 23.92 kB / 0.7986 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.2802, allocations: 19.97 kB / 0.7987 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.2802, allocations: 4 kB / 0.7987 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001062/0.2803, allocations: 148.2 kB / 0.7988 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2803, allocations: 0 / 0.7988 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002975/0.2806, allocations: 47.98 kB / 0.7989 GB, free: 0.7422 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.0003096/0.2809, allocations: 168.6 kB / 0.799 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.2812, allocations: 99.83 kB / 0.7991 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2812, allocations: 0 / 0.7991 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.642e-05/0.2813, allocations: 55.92 kB / 0.7992 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.2817, allocations: 54.73 kB / 0.7992 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.2823, allocations: 362.6 kB / 0.7996 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.2825, allocations: 0.7206 MB / 0.8003 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003094/0.2828, allocations: 25.53 kB / 0.8003 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.2829, allocations: 23.42 kB / 0.8003 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.2829, allocations: 4 kB / 0.8003 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of Templates: time 0.006493/0.2894, allocations: 3.459 MB / 0.8037 GB, free: 11.78 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) Environment - environmentSimulation: