Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, 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.009934/0.009935, 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 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 12 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6978/0.6981, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.0021/0.7003, allocations: 1.535 MB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.7019, allocations: 0.9282 MB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.702, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.7022, allocations: 27.8 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.7026, allocations: 83.66 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.703, allocations: 140.9 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.7032, allocations: 231.3 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.7034, allocations: 37.67 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.7035, allocations: 95.67 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04971/0.7533, allocations: 3.285 MB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.643e-05/0.7534, allocations: 15.94 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.7535, allocations: 24 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.702e-05/0.7536, allocations: 31.89 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.7538, allocations: 113.2 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.7541, allocations: 203.2 kB / 1.03 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.7541, allocations: 0 / 1.03 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7541, allocations: 0 / 1.03 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.7542, allocations: 0 / 1.03 GB, free: 9.891 MB / 0.7794 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.000854/0.755, allocations: 0.5177 MB / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.7551, allocations: 12.03 kB / 1.03 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.7552, allocations: 16.75 kB / 1.03 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.7554, allocations: 247.4 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.7555, allocations: 15.98 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.7555, allocations: 20 kB / 1.03 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.7557, allocations: 107.4 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.7558, allocations: 4 kB / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.7558, allocations: 0 / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.7558, allocations: 0 / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.7559, allocations: 59.91 kB / 1.031 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008746/0.7568, allocations: 0.5513 MB / 1.031 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.757, allocations: 101.1 kB / 1.031 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.757, allocations: 37.77 kB / 1.031 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.7571, allocations: 0 / 1.031 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.7573, allocations: 132.2 kB / 1.031 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.7573, allocations: 0 / 1.031 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003377/0.7576, allocations: 165.5 kB / 1.032 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.7577, allocations: 81.11 kB / 1.032 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.7579, allocations: 200.3 kB / 1.032 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.758, allocations: 33.7 kB / 1.032 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/0.7581, allocations: 120.4 kB / 1.032 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.7581, allocations: 51.59 kB / 1.032 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.7582, allocations: 29.7 kB / 1.032 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7583, allocations: 322.8 kB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.7584, allocations: 31.98 kB / 1.032 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.7586, allocations: 148.1 kB / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.7587, allocations: 109.9 kB / 1.033 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7588, allocations: 0 / 1.033 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002495/0.759, allocations: 157.5 kB / 1.033 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.759, allocations: 11.06 kB / 1.033 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.759, allocations: 7.984 kB / 1.033 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.7591, allocations: 4 kB / 1.033 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.7592, allocations: 15.98 kB / 1.033 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.7592, allocations: 3.984 kB / 1.033 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.7594, allocations: 36.05 kB / 1.033 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.7594, allocations: 7.938 kB / 1.033 GB, free: 6.254 MB / 0.7794 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.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.7596, allocations: 144 kB / 1.033 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.7596, allocations: 15.81 kB / 1.033 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.7597, allocations: 29.52 kB / 1.033 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7597, allocations: 0 / 1.033 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7597, allocations: 0 / 1.033 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7597, allocations: 0 / 1.033 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.7603, allocations: 484.9 kB / 1.033 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7603, allocations: 0 / 1.033 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.7603, allocations: 7.938 kB / 1.033 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7603, allocations: 0 / 1.033 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.7604, allocations: 8 kB / 1.033 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.7604, allocations: 7.938 kB / 1.033 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7604, allocations: 0 / 1.033 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.7606, allocations: 232 kB / 1.034 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.7607, allocations: 96.91 kB / 1.034 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.7607, allocations: 0 / 1.034 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.7608, allocations: 27.92 kB / 1.034 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.7609, allocations: 23.91 kB / 1.034 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.7609, allocations: 8 kB / 1.034 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000122/0.7611, allocations: 143.3 kB / 1.034 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7611, allocations: 0 / 1.034 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003206/0.7614, allocations: 43.94 kB / 1.034 GB, free: 4.914 MB / 0.7794 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 (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.0003558/0.7618, allocations: 166.7 kB / 1.034 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.762, allocations: 103.9 kB / 1.034 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.762, allocations: 0 / 1.034 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.707e-05/0.7621, allocations: 55.3 kB / 1.034 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.7626, allocations: 51.05 kB / 1.034 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.7632, allocations: 359.6 kB / 1.035 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.7635, allocations: 0.7206 MB / 1.035 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.03e-05/0.7636, allocations: 25.52 kB / 1.035 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.7637, allocations: 19.44 kB / 1.035 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.7637, allocations: 0 / 1.035 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of Templates: time 0.007719/0.7714, allocations: 3.42 MB / 1.039 GB, free: 0 / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches