Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_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_9_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.005325/0.005325, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001236/0.001236, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.47/1.47, allocations: 222.9 MB / 240.5 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.89 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6543/0.6557, allocations: 140.3 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.00345/0.6592, allocations: 1.895 MB / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.6606, allocations: 0.9449 MB / 0.9523 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.6607, allocations: 5.312 kB / 0.9523 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.6609, allocations: 20.67 kB / 0.9524 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.6612, allocations: 86.78 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.6615, allocations: 149.1 kB / 0.9526 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.6618, allocations: 224.6 kB / 0.9528 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.6619, allocations: 46.23 kB / 0.9528 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.662, allocations: 103.8 kB / 0.9529 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02189/0.6839, allocations: 1.531 MB / 0.9544 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.684, allocations: 11.06 kB / 0.9545 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.6842, allocations: 27.36 kB / 0.9545 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.107e-05/0.6843, allocations: 31.97 kB / 0.9545 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.6844, allocations: 95.11 kB / 0.9546 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.6847, allocations: 144.1 kB / 0.9547 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6847, allocations: 5.125 kB / 0.9547 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6847, allocations: 0 / 0.9547 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.6847, allocations: 0 / 0.9547 GB, free: 5.75 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.0008694/0.6856, allocations: 0.551 MB / 0.9553 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6856, allocations: 9.406 kB / 0.9553 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.6858, allocations: 19.62 kB / 0.9553 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.686, allocations: 250.8 kB / 0.9555 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.6861, allocations: 7 kB / 0.9556 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.6861, allocations: 18.19 kB / 0.9556 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.6863, allocations: 116.6 kB / 0.9557 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6864, allocations: 0 / 0.9557 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.6864, allocations: 5.219 kB / 0.9557 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.6864, allocations: 2.438 kB / 0.9557 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.6865, allocations: 52.97 kB / 0.9557 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008768/0.6874, allocations: 0.5432 MB / 0.9563 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.6876, allocations: 95.97 kB / 0.9564 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.857e-05/0.6877, allocations: 39.78 kB / 0.9564 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.6877, allocations: 3.938 kB / 0.9564 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.6879, allocations: 127.8 kB / 0.9565 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.6879, allocations: 0 / 0.9565 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003755/0.6883, allocations: 157.2 kB / 0.9567 GB, free: 4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.6883, allocations: 88.73 kB / 0.9568 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.6885, allocations: 203.7 kB / 0.957 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.6885, allocations: 33.45 kB / 0.957 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.6886, allocations: 118.4 kB / 0.9571 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.6887, allocations: 36.73 kB / 0.9571 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.852e-05/0.6888, allocations: 61.44 kB / 0.9572 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.6888, allocations: 330.8 kB / 0.9575 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.6889, allocations: 38.11 kB / 0.9575 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.6892, allocations: 143.8 kB / 0.9577 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.6893, allocations: 109.6 kB / 0.9578 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6893, allocations: 0 / 0.9578 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002773/0.6896, allocations: 169.8 kB / 0.9579 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6896, allocations: 5.75 kB / 0.958 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6897, allocations: 13.62 kB / 0.958 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.6897, allocations: 2.844 kB / 0.958 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.916e-05/0.6898, allocations: 11.31 kB / 0.958 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.6898, allocations: 7.062 kB / 0.958 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.69, allocations: 29.38 kB / 0.958 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.6901, allocations: 9.672 kB / 0.958 GB, free: 2.812 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.0001128/0.6902, allocations: 137.2 kB / 0.9582 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.6902, allocations: 18.44 kB / 0.9582 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.6903, allocations: 30.02 kB / 0.9582 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.6903, allocations: 3.156 kB / 0.9582 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.6903, allocations: 3.938 kB / 0.9582 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6903, allocations: 1.094 kB / 0.9582 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/0.6908, allocations: 452.8 kB / 0.9586 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6908, allocations: 3.938 kB / 0.9586 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.6909, allocations: 7.969 kB / 0.9587 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.6909, allocations: 5 kB / 0.9587 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.6909, allocations: 5.469 kB / 0.9587 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.6909, allocations: 5.375 kB / 0.9587 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6909, allocations: 1.562 kB / 0.9587 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.6911, allocations: 232 kB / 0.9589 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.6912, allocations: 92.98 kB / 0.959 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.6912, allocations: 9.141 kB / 0.959 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.6914, allocations: 23.39 kB / 0.959 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.6914, allocations: 16.25 kB / 0.959 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.6915, allocations: 10.12 kB / 0.959 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001116/0.6916, allocations: 137.1 kB / 0.9592 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6916, allocations: 0 / 0.9592 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003341/0.6919, allocations: 47.69 kB / 0.9592 GB, free: 1.781 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.0003366/0.6923, allocations: 157.5 kB / 0.9594 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.6925, allocations: 108.3 kB / 0.9595 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6925, allocations: 0 / 0.9595 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.6926, allocations: 56.58 kB / 0.9595 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.6931, allocations: 56.78 kB / 0.9596 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.6938, allocations: 381.2 kB / 0.9599 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.6939, allocations: 0.7213 MB / 0.9606 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.694, allocations: 19.09 kB / 0.9607 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.694, allocations: 3.938 kB / 0.9607 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of Templates: time 0.007471/0.7015, allocations: 3.214 MB / 0.9638 GB, free: 14.86 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches