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.0008575/0.0008575, allocations: 86.36 kB / 15.06 MB, free: 1.082 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.0009344/0.0009348, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.43 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.61/2.61, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005784/0.0005786, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8754/0.8761, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.001932/0.878, allocations: 1.504 MB / 0.9559 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.8793, allocations: 0.8849 MB / 0.9567 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.463e-05/0.8794, allocations: 6.062 kB / 0.9568 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.8796, allocations: 28.23 kB / 0.9568 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.8799, allocations: 95.73 kB / 0.9569 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.8802, allocations: 147.5 kB / 0.957 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.8804, allocations: 203.8 kB / 0.9572 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.8806, allocations: 33.44 kB / 0.9572 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.8807, allocations: 103.4 kB / 0.9573 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004421/0.8851, allocations: 3.098 MB / 0.9604 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.458e-05/0.8852, allocations: 7.625 kB / 0.9604 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.8853, allocations: 22.47 kB / 0.9604 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.8853, allocations: 31.47 kB / 0.9604 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.8854, allocations: 50.05 kB / 0.9605 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.8856, allocations: 145.3 kB / 0.9606 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8856, allocations: 0 / 0.9606 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8856, allocations: 0 / 0.9606 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.8856, allocations: 7.938 kB / 0.9606 GB, free: 4.133 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.000604/0.8862, allocations: 0.5252 MB / 0.9611 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.8863, allocations: 8.719 kB / 0.9611 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.8863, allocations: 21.94 kB / 0.9612 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.8866, allocations: 235.5 kB / 0.9614 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.8866, allocations: 9.75 kB / 0.9614 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.8866, allocations: 10.84 kB / 0.9614 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.8868, allocations: 119.9 kB / 0.9615 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.8868, allocations: 0 / 0.9615 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.8868, allocations: 9.078 kB / 0.9615 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.8869, allocations: 2.75 kB / 0.9615 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.887, allocations: 48.78 kB / 0.9616 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.8876, allocations: 0.5569 MB / 0.9621 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.8878, allocations: 98.28 kB / 0.9622 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.8879, allocations: 41.17 kB / 0.9623 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.8879, allocations: 9.344 kB / 0.9623 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.8881, allocations: 116.4 kB / 0.9624 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.8881, allocations: 0 / 0.9624 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003145/0.8884, allocations: 161.4 kB / 0.9625 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.8885, allocations: 92 kB / 0.9626 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.8886, allocations: 193.5 kB / 0.9628 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.8887, allocations: 33.73 kB / 0.9628 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.8888, allocations: 133.4 kB / 0.963 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.8888, allocations: 33.25 kB / 0.963 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.8888, allocations: 5.031 kB / 0.963 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.8889, allocations: 331 kB / 0.9633 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.8889, allocations: 29.52 kB / 0.9633 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.8891, allocations: 134.5 kB / 0.9635 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.262e-05/0.8892, allocations: 40.81 kB / 0.9635 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8892, allocations: 4.844 kB / 0.9635 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002226/0.8895, allocations: 154.2 kB / 0.9637 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.8895, allocations: 10.33 kB / 0.9637 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8895, allocations: 1.312 kB / 0.9637 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.8895, allocations: 6.547 kB / 0.9637 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.8896, allocations: 16.19 kB / 0.9637 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.8896, allocations: 3 kB / 0.9637 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.8898, allocations: 41.22 kB / 0.9637 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.8898, allocations: 5.656 kB / 0.9637 GB, free: 1.348 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.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.0001003/0.8899, allocations: 140.9 kB / 0.9639 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.89, allocations: 15.97 kB / 0.9639 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.89, allocations: 26.2 kB / 0.9639 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.89, allocations: 5.781 kB / 0.9639 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.89, allocations: 4.672 kB / 0.9639 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.89, allocations: 4.812 kB / 0.9639 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.8905, allocations: 467.6 kB / 0.9644 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8905, allocations: 1.375 kB / 0.9644 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.8906, allocations: 2.688 kB / 0.9644 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.8906, allocations: 9.297 kB / 0.9644 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.8906, allocations: 10.56 kB / 0.9644 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.8906, allocations: 1.375 kB / 0.9644 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8906, allocations: 3.984 kB / 0.9644 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.8908, allocations: 222.9 kB / 0.9646 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.8908, allocations: 93.84 kB / 0.9647 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.8909, allocations: 6.047 kB / 0.9647 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.891, allocations: 24.02 kB / 0.9647 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.8911, allocations: 20.16 kB / 0.9647 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.8911, allocations: 9.453 kB / 0.9648 GB, free: 440 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001026/0.8912, allocations: 145 kB / 0.9649 GB, free: 328 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8912, allocations: 0 / 0.9649 GB, free: 328 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003074/0.8915, allocations: 42.62 kB / 0.9649 GB, free: 320 kB / 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 (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.0003212/0.8919, allocations: 187.8 kB / 0.9651 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.8921, allocations: 91.88 kB / 0.9652 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8921, allocations: 0.9688 kB / 0.9652 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.928e-05/0.8922, allocations: 56.7 kB / 0.9653 GB, free: 124 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.8926, allocations: 53.11 kB / 0.9653 GB, free: 96 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.8932, allocations: 340.6 kB / 0.9656 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.8935, allocations: 0.7218 MB / 0.9663 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.869e-05/0.8936, allocations: 22.59 kB / 0.9664 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.8936, allocations: 23.88 kB / 0.9664 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.8936, allocations: 0 / 0.9664 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.007598/0.9012, allocations: 3.288 MB / 0.9696 GB, free: 13.43 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches