Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001065/0.001065, allocations: 180.6 kB / 487.4 MB, free: 5.043 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.428/1.428, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 91.86 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.577e-05/1.579e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2827, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9204/1.203, allocations: 152.6 MB / 1.355 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/1.204, allocations: 78.2 kB / 1.355 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03286/1.236, allocations: 13.36 MB / 1.368 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.903e-06/1.236, allocations: 0 / 1.368 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.9e-05/1.237, allocations: 11.88 kB / 1.368 GB, free: 33.4 MB / 0.8386 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.0008479/1.237, allocations: 0.512 MB / 1.369 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.237, allocations: 11.72 kB / 1.369 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/1.238, allocations: 22.41 kB / 1.369 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005891/1.238, allocations: 260.8 kB / 1.369 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/1.238, allocations: 3.844 kB / 1.369 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/1.238, allocations: 11.81 kB / 1.369 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001523/1.238, allocations: 49.59 kB / 1.369 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/1.239, allocations: 106.4 kB / 1.369 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.239, allocations: 0 / 1.369 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/1.239, allocations: 3.375 kB / 1.369 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/1.239, allocations: 3.812 kB / 1.369 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009036/1.24, allocations: 0.5118 MB / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/1.24, allocations: 87.08 kB / 1.37 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/1.24, allocations: 38.41 kB / 1.37 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/1.24, allocations: 4.125 kB / 1.37 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/1.24, allocations: 123.6 kB / 1.37 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/1.24, allocations: 0 / 1.37 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002957/1.24, allocations: 115.8 kB / 1.37 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/1.24, allocations: 87.81 kB / 1.37 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/1.241, allocations: 169.6 kB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/1.241, allocations: 33.58 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/1.241, allocations: 121.7 kB / 1.37 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/1.241, allocations: 33.52 kB / 1.37 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/1.241, allocations: 0 / 1.37 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.241, allocations: 331.4 kB / 1.371 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/1.241, allocations: 29.44 kB / 1.371 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/1.241, allocations: 123.7 kB / 1.371 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.568e-05/1.241, allocations: 31.61 kB / 1.371 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.241, allocations: 3.844 kB / 1.371 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002644/1.242, allocations: 134.4 kB / 1.371 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.242, allocations: 8.297 kB / 1.371 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.242, allocations: 3.844 kB / 1.371 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.242, allocations: 0 / 1.371 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.355e-05/1.242, allocations: 19.16 kB / 1.371 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.242, allocations: 7.125 kB / 1.371 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/1.242, allocations: 34.56 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/1.242, allocations: 7.656 kB / 1.371 GB, free: 31.32 MB / 0.8386 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 () * 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.0001174/1.242, allocations: 113.6 kB / 1.371 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/1.242, allocations: 22.34 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/1.242, allocations: 16.34 kB / 1.371 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/1.242, allocations: 7.078 kB / 1.371 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.242, allocations: 3.812 kB / 1.371 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.242, allocations: 0 / 1.371 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/1.243, allocations: 431.7 kB / 1.372 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.243, allocations: 3.938 kB / 1.372 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/1.243, allocations: 6.25 kB / 1.372 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.243, allocations: 3.719 kB / 1.372 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.243, allocations: 0 / 1.372 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.243, allocations: 4 kB / 1.372 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.243, allocations: 7.922 kB / 1.372 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/1.243, allocations: 225.2 kB / 1.372 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/1.243, allocations: 91.25 kB / 1.372 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/1.243, allocations: 3.969 kB / 1.372 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/1.243, allocations: 32.95 kB / 1.372 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/1.243, allocations: 18.3 kB / 1.372 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/1.243, allocations: 3.844 kB / 1.372 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001082/1.244, allocations: 137 kB / 1.372 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.244, allocations: 0 / 1.372 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003323/1.244, allocations: 45.52 kB / 1.372 GB, free: 30.54 MB / 0.8386 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 () * 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.0004165/1.244, allocations: 179.1 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001952/1.245, allocations: 89.88 kB / 1.372 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.245, allocations: 0 / 1.372 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/1.245, allocations: 43.84 kB / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/1.245, allocations: 45.34 kB / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/1.245, allocations: 196.2 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/1.246, allocations: 0.7272 MB / 1.373 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.846e-05/1.246, allocations: 26.41 kB / 1.373 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/1.246, allocations: 25.06 kB / 1.373 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/1.246, allocations: 0 / 1.373 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.006826/1.253, allocations: 3.125 MB / 1.376 GB, free: 28.98 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)