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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001625, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001893/0.001893, allocations: 188.6 kB / 16.25 MB, free: 6.602 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.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 59.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9153/0.9168, allocations: 140.3 MB / 0.9491 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.004021/0.9208, allocations: 1.901 MB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.9225, allocations: 0.9366 MB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.9227, allocations: 5.219 kB / 0.9519 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.9229, allocations: 23.77 kB / 0.9519 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.9233, allocations: 94.28 kB / 0.952 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.9237, allocations: 149.6 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.924, allocations: 227 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.9242, allocations: 48.34 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.9244, allocations: 116.4 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02542/0.9498, allocations: 1.968 MB / 0.9544 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.9499, allocations: 26.16 kB / 0.9544 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.9501, allocations: 40.14 kB / 0.9545 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.9502, allocations: 36.41 kB / 0.9545 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.9503, allocations: 106.7 kB / 0.9546 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.9507, allocations: 217.9 kB / 0.9548 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9507, allocations: 0 / 0.9548 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9507, allocations: 0 / 0.9548 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.9507, allocations: 1.062 kB / 0.9548 GB, free: 5.531 MB / 0.7169 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.0007996/0.9515, allocations: 0.5522 MB / 0.9554 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.9516, allocations: 9.031 kB / 0.9554 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.967e-05/0.9517, allocations: 18.12 kB / 0.9554 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.9519, allocations: 247.2 kB / 0.9556 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.952, allocations: 11.06 kB / 0.9556 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.952, allocations: 14.75 kB / 0.9556 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.9522, allocations: 108 kB / 0.9557 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.9522, allocations: 4 kB / 0.9557 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.9523, allocations: 5.406 kB / 0.9557 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.9523, allocations: 1.375 kB / 0.9558 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.9524, allocations: 57.28 kB / 0.9558 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007695/0.9532, allocations: 0.5481 MB / 0.9563 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.9533, allocations: 94.97 kB / 0.9564 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.9534, allocations: 42.09 kB / 0.9565 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.9534, allocations: 5.375 kB / 0.9565 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.9536, allocations: 121.9 kB / 0.9566 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.9536, allocations: 0 / 0.9566 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003509/0.954, allocations: 163.1 kB / 0.9567 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.954, allocations: 80.58 kB / 0.9568 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.9542, allocations: 207.3 kB / 0.957 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.9542, allocations: 33.55 kB / 0.9571 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.9543, allocations: 126.5 kB / 0.9572 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.9543, allocations: 33.33 kB / 0.9572 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.9544, allocations: 59.7 kB / 0.9573 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.9545, allocations: 327.2 kB / 0.9576 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.602e-05/0.9546, allocations: 31.2 kB / 0.9576 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.9548, allocations: 145.7 kB / 0.9577 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.9549, allocations: 109.3 kB / 0.9578 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9549, allocations: 1.281 kB / 0.9579 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000243/0.9552, allocations: 161.5 kB / 0.958 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.9552, allocations: 6.094 kB / 0.958 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.9552, allocations: 5.578 kB / 0.958 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.9552, allocations: 3.062 kB / 0.958 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.9553, allocations: 19.91 kB / 0.958 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.9554, allocations: 3.375 kB / 0.958 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.9556, allocations: 28.12 kB / 0.9581 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.9556, allocations: 13.41 kB / 0.9581 GB, free: 2.605 MB / 0.7169 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.0001135/0.9557, allocations: 141.1 kB / 0.9582 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.9558, allocations: 23.53 kB / 0.9582 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.9558, allocations: 21.95 kB / 0.9583 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.9558, allocations: 6.5 kB / 0.9583 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.9558, allocations: 4 kB / 0.9583 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9558, allocations: 1.375 kB / 0.9583 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.9564, allocations: 468.8 kB / 0.9587 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.9564, allocations: 0 / 0.9587 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.9564, allocations: 4.125 kB / 0.9587 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.9564, allocations: 0 / 0.9587 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.9564, allocations: 6.75 kB / 0.9587 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.9564, allocations: 9.312 kB / 0.9587 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9564, allocations: 0 / 0.9587 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.9566, allocations: 232.6 kB / 0.959 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.9567, allocations: 89.05 kB / 0.959 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.9567, allocations: 5.359 kB / 0.959 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.9569, allocations: 18.8 kB / 0.9591 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.9569, allocations: 21.61 kB / 0.9591 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.957, allocations: 9.484 kB / 0.9591 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.994e-05/0.9571, allocations: 142.6 kB / 0.9592 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9571, allocations: 0 / 0.9592 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003257/0.9574, allocations: 42.94 kB / 0.9593 GB, free: 1.574 MB / 0.7169 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.0003323/0.9577, allocations: 166.4 kB / 0.9594 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.958, allocations: 111 kB / 0.9595 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.958, allocations: 5.188 kB / 0.9595 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.9581, allocations: 46.45 kB / 0.9596 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.9586, allocations: 61.59 kB / 0.9596 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.9591, allocations: 346.1 kB / 0.96 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.9593, allocations: 0.7253 MB / 0.9607 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.613e-05/0.9594, allocations: 17.98 kB / 0.9607 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.9595, allocations: 31.64 kB / 0.9607 GB, free: 348 kB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.9595, allocations: 1.094 kB / 0.9607 GB, free: 348 kB / 0.7169 GB Notification: Performance of Templates: time 0.009081/0.9686, allocations: 3.534 MB / 0.9642 GB, free: 14.57 MB / 0.7325 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) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches