Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.404/2.404, allocations: 393.5 MB / 408.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 182.9 kB / 0.4902 GB, free: 2.227 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.699/1.699, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 95.08 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004017, allocations: 7.656 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.289, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.4886, allocations: 154 MB / 1.38 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4889, allocations: 87.94 kB / 1.38 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03377/0.5227, allocations: 12.45 MB / 1.392 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5228, allocations: 3.938 kB / 1.392 GB, free: 3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.5228, allocations: 4 kB / 1.392 GB, free: 2.996 MB / 0.8855 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.0009145/0.5237, allocations: 0.5532 MB / 1.392 GB, free: 2.379 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.5238, allocations: 8.562 kB / 1.392 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.723e-05/0.5239, allocations: 23.72 kB / 1.392 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005478/0.5244, allocations: 254.6 kB / 1.393 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.5245, allocations: 15.98 kB / 1.393 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.5245, allocations: 15.95 kB / 1.393 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.5248, allocations: 116 kB / 1.393 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5248, allocations: 0 / 1.393 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.5248, allocations: 4 kB / 1.393 GB, free: 1.898 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5248, allocations: 4 kB / 1.393 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.525, allocations: 51.91 kB / 1.393 GB, free: 1.844 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.5259, allocations: 0.5474 MB / 1.393 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.5261, allocations: 97.11 kB / 1.393 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.5262, allocations: 8.188 kB / 1.393 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.5264, allocations: 123.6 kB / 1.394 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.5264, allocations: 0 / 1.394 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0003594/0.5268, allocations: 161.5 kB / 1.394 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.5268, allocations: 85.09 kB / 1.394 GB, free: 0.7188 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.527, allocations: 181.4 kB / 1.394 GB, free: 0.5312 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.5271, allocations: 37.64 kB / 1.394 GB, free: 500 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.5272, allocations: 124.5 kB / 1.394 GB, free: 372 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.5272, allocations: 31.77 kB / 1.394 GB, free: 340 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.5272, allocations: 11.98 kB / 1.394 GB, free: 328 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5274, allocations: 326.8 kB / 1.395 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.5275, allocations: 32.36 kB / 1.395 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.5277, allocations: 140.1 kB / 1.395 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.004e-05/0.5278, allocations: 36 kB / 1.395 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5278, allocations: 4 kB / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002434/0.528, allocations: 164.8 kB / 1.395 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5281, allocations: 12.16 kB / 1.395 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5281, allocations: 0 / 1.395 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.5281, allocations: 7.953 kB / 1.395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.5282, allocations: 12 kB / 1.395 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.5282, allocations: 11.92 kB / 1.395 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.5285, allocations: 23.98 kB / 1.395 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.5285, allocations: 4 kB / 1.395 GB, free: 15.52 MB / 0.9011 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.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.5287, allocations: 144.2 kB / 1.395 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.5287, allocations: 15.81 kB / 1.395 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.5288, allocations: 21.52 kB / 1.395 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5288, allocations: 0 / 1.395 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.5288, allocations: 7.891 kB / 1.395 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5288, allocations: 4 kB / 1.395 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.5295, allocations: 466.3 kB / 1.396 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5295, allocations: 7.938 kB / 1.396 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.5295, allocations: 4 kB / 1.396 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5295, allocations: 3.953 kB / 1.396 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.5296, allocations: 11.98 kB / 1.396 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5296, allocations: 0 / 1.396 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5296, allocations: 0 / 1.396 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.5298, allocations: 237.9 kB / 1.396 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.5299, allocations: 104.7 kB / 1.396 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.53, allocations: 8 kB / 1.396 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.5301, allocations: 15.98 kB / 1.396 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.5302, allocations: 23.97 kB / 1.396 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.5302, allocations: 7.984 kB / 1.396 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001265/0.5304, allocations: 140.5 kB / 1.396 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5304, allocations: 0 / 1.396 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003105/0.5307, allocations: 44 kB / 1.396 GB, free: 14.16 MB / 0.9011 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004036/0.5311, allocations: 177.8 kB / 1.396 GB, free: 14 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.5313, allocations: 99.78 kB / 1.396 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/0.5314, allocations: 8.312 kB / 1.396 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.718e-05/0.5315, allocations: 47.92 kB / 1.396 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.5318, allocations: 49.48 kB / 1.397 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006766/0.5325, allocations: 342 kB / 1.397 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.5329, allocations: 0.7286 MB / 1.398 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 7.928e-05/0.5329, allocations: 21.64 kB / 1.398 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.533, allocations: 23.42 kB / 1.398 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of SimCode: time 4.41e-07/0.533, allocations: 0 / 1.398 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of Templates: time 0.00807/0.5411, allocations: 3.255 MB / 1.401 GB, free: 9.414 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)