Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, 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.00223/0.002229, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.505/1.505, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.493/2.493, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.89 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7634/0.7648, allocations: 140.4 MB / 0.9491 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003165/0.768, allocations: 1.88 MB / 0.9509 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.7694, allocations: 0.9393 MB / 0.9518 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.7695, allocations: 6.344 kB / 0.9518 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.7697, allocations: 27.86 kB / 0.9519 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.77, allocations: 93.47 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.7704, allocations: 142.5 kB / 0.9521 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000282/0.7707, allocations: 234.8 kB / 0.9523 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.7708, allocations: 41.11 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.771, allocations: 109.4 kB / 0.9525 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02234/0.7933, allocations: 1.693 MB / 0.9541 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.7935, allocations: 18.09 kB / 0.9541 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.7937, allocations: 35.56 kB / 0.9542 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.068e-05/0.7938, allocations: 44.23 kB / 0.9542 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.7939, allocations: 90.91 kB / 0.9543 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.7943, allocations: 221.1 kB / 0.9545 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7943, allocations: 0 / 0.9545 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7944, allocations: 3.938 kB / 0.9545 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.7944, allocations: 1.469 kB / 0.9545 GB, free: 5.57 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009038/0.7953, allocations: 0.5452 MB / 0.955 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.7953, allocations: 9.312 kB / 0.9551 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.7955, allocations: 21.06 kB / 0.9551 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.7958, allocations: 246.8 kB / 0.9553 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.7958, allocations: 11.03 kB / 0.9553 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.7958, allocations: 15.16 kB / 0.9553 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.7961, allocations: 83.88 kB / 0.9554 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.7961, allocations: 1.031 kB / 0.9554 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.7961, allocations: 9.422 kB / 0.9554 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.7961, allocations: 1.344 kB / 0.9554 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.7962, allocations: 60.77 kB / 0.9555 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008165/0.7971, allocations: 461.8 kB / 0.9559 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.7975, allocations: 140.5 kB / 0.9561 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.7976, allocations: 38.55 kB / 0.9561 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.7976, allocations: 1.062 kB / 0.9561 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.7978, allocations: 119.7 kB / 0.9562 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.7978, allocations: 0 / 0.9562 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003495/0.7982, allocations: 170.8 kB / 0.9564 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.7982, allocations: 54.56 kB / 0.9564 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.7984, allocations: 203.5 kB / 0.9566 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.7984, allocations: 32.67 kB / 0.9566 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.7985, allocations: 125.5 kB / 0.9568 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.7985, allocations: 33.64 kB / 0.9568 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.7986, allocations: 56 kB / 0.9569 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.7987, allocations: 331.7 kB / 0.9572 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.7988, allocations: 34.33 kB / 0.9572 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.7991, allocations: 129.7 kB / 0.9573 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.7992, allocations: 102.1 kB / 0.9574 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7992, allocations: 0 / 0.9574 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003248/0.7996, allocations: 152.3 kB / 0.9576 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.7996, allocations: 9.625 kB / 0.9576 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.7996, allocations: 1.375 kB / 0.9576 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.7996, allocations: 2.75 kB / 0.9576 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.7997, allocations: 16.31 kB / 0.9576 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.7998, allocations: 5.359 kB / 0.9576 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.8, allocations: 28.2 kB / 0.9576 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.8, allocations: 9.484 kB / 0.9576 GB, free: 2.855 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001597/0.8002, allocations: 139.8 kB / 0.9578 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.8003, allocations: 20.06 kB / 0.9578 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.8003, allocations: 25.98 kB / 0.9578 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.8003, allocations: 1.375 kB / 0.9578 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.8004, allocations: 0 / 0.9578 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.8004, allocations: 1.375 kB / 0.9578 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006859/0.8011, allocations: 0.4889 MB / 0.9583 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.8011, allocations: 4 kB / 0.9583 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.8011, allocations: 4.375 kB / 0.9583 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.8011, allocations: 0 / 0.9583 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.8011, allocations: 1.062 kB / 0.9583 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.8011, allocations: 5.844 kB / 0.9583 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8012, allocations: 0 / 0.9583 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.8014, allocations: 231.3 kB / 0.9585 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.8015, allocations: 100.8 kB / 0.9586 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.8015, allocations: 9.609 kB / 0.9586 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.8017, allocations: 18.77 kB / 0.9587 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.8018, allocations: 20.78 kB / 0.9587 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.8018, allocations: 6.5 kB / 0.9587 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001291/0.8019, allocations: 139.5 kB / 0.9588 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8019, allocations: 1.312 kB / 0.9588 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003881/0.8023, allocations: 47.12 kB / 0.9589 GB, free: 1.809 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0004586/0.8028, allocations: 158.1 kB / 0.959 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002869/0.8031, allocations: 121.2 kB / 0.9591 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8031, allocations: 0 / 0.9591 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.8032, allocations: 52.92 kB / 0.9592 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.8037, allocations: 60.34 kB / 0.9592 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.8044, allocations: 353.8 kB / 0.9596 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.8046, allocations: 0.7252 MB / 0.9603 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.8047, allocations: 26.73 kB / 0.9603 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.8048, allocations: 24.48 kB / 0.9603 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.8048, allocations: 0 / 0.9603 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of Templates: time 0.009642/0.8144, allocations: 3.602 MB / 0.9638 GB, free: 14.77 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches