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.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.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.001557/0.001557, 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.001952/0.001952, allocations: 188.4 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.495/1.495, 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.454/2.454, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8765/0.8778, allocations: 140.4 MB / 0.9491 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003396/0.8812, allocations: 1.883 MB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.8827, allocations: 0.9337 MB / 0.9518 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.812e-05/0.8828, allocations: 1.281 kB / 0.9518 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.8831, allocations: 31.5 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004945/0.8836, allocations: 93.53 kB / 0.952 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.8841, allocations: 142.1 kB / 0.9521 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.8843, allocations: 243.3 kB / 0.9523 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.8845, allocations: 44.05 kB / 0.9524 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.8847, allocations: 124.4 kB / 0.9525 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02156/0.9062, allocations: 1.641 MB / 0.9541 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.9064, allocations: 21 kB / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.9066, allocations: 40.09 kB / 0.9541 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.9068, allocations: 32.91 kB / 0.9542 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.9069, allocations: 102.9 kB / 0.9543 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004918/0.9074, allocations: 221.4 kB / 0.9545 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.9075, allocations: 0 / 0.9545 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.326e-06/0.9075, allocations: 4 kB / 0.9545 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.9075, allocations: 1.312 kB / 0.9545 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.001028/0.9085, allocations: 0.547 MB / 0.955 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.9086, allocations: 9.312 kB / 0.955 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.9087, allocations: 19.66 kB / 0.955 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.9091, allocations: 251.5 kB / 0.9553 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.9091, allocations: 9.812 kB / 0.9553 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.9091, allocations: 16.69 kB / 0.9553 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.9094, allocations: 112.8 kB / 0.9554 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.9094, allocations: 0 / 0.9554 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.9094, allocations: 0 / 0.9554 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.9094, allocations: 5.781 kB / 0.9554 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.9096, allocations: 57.25 kB / 0.9555 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.9106, allocations: 0.5396 MB / 0.956 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.9108, allocations: 102.9 kB / 0.9561 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.892e-05/0.9108, allocations: 34 kB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.9109, allocations: 1.219 kB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.9111, allocations: 135.7 kB / 0.9563 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.9111, allocations: 1.188 kB / 0.9563 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0004141/0.9115, allocations: 159.1 kB / 0.9564 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.9116, allocations: 84.7 kB / 0.9565 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.9119, allocations: 203.4 kB / 0.9567 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.9119, allocations: 33.52 kB / 0.9567 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/0.912, allocations: 118.2 kB / 0.9568 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.912, allocations: 37.14 kB / 0.9569 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.9122, allocations: 65.38 kB / 0.9569 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.9123, allocations: 326.9 kB / 0.9573 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.9123, allocations: 35.11 kB / 0.9573 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.9126, allocations: 138 kB / 0.9574 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.9128, allocations: 115.6 kB / 0.9575 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9128, allocations: 1.406 kB / 0.9575 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002809/0.9131, allocations: 162.8 kB / 0.9577 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.9131, allocations: 8.844 kB / 0.9577 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.9131, allocations: 5.328 kB / 0.9577 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.9132, allocations: 6.625 kB / 0.9577 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.9133, allocations: 16.66 kB / 0.9577 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.9133, allocations: 2.938 kB / 0.9577 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.9136, allocations: 28.31 kB / 0.9577 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.9136, allocations: 9.438 kB / 0.9578 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.0001556/0.9137, allocations: 149.5 kB / 0.9579 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.9138, allocations: 23.91 kB / 0.9579 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.9138, allocations: 21.64 kB / 0.9579 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.9138, allocations: 1.375 kB / 0.9579 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.9139, allocations: 1.375 kB / 0.9579 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.9139, allocations: 0 / 0.9579 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.9145, allocations: 465.1 kB / 0.9584 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.9145, allocations: 1.375 kB / 0.9584 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.9145, allocations: 6.688 kB / 0.9584 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9145, allocations: 1.375 kB / 0.9584 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.9146, allocations: 2.75 kB / 0.9584 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.9146, allocations: 3.938 kB / 0.9584 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.9146, allocations: 1.375 kB / 0.9584 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.9148, allocations: 235.6 kB / 0.9586 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.9149, allocations: 94.27 kB / 0.9587 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.9149, allocations: 5.109 kB / 0.9587 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.9151, allocations: 14.55 kB / 0.9587 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.9152, allocations: 21.14 kB / 0.9588 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.9152, allocations: 13.33 kB / 0.9588 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001153/0.9153, allocations: 138.1 kB / 0.9589 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9153, allocations: 0 / 0.9589 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003274/0.9157, allocations: 51.5 kB / 0.959 GB, free: 1.566 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.0004451/0.9161, allocations: 167.4 kB / 0.9591 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.9164, allocations: 105.9 kB / 0.9592 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.9164, allocations: 1.062 kB / 0.9592 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.9166, allocations: 55.22 kB / 0.9593 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.917, allocations: 62.38 kB / 0.9593 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007769/0.9178, allocations: 353.6 kB / 0.9597 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.9182, allocations: 0.7292 MB / 0.9604 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.9183, allocations: 26.19 kB / 0.9604 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.9184, allocations: 24.7 kB / 0.9604 GB, free: 336 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.9184, allocations: 0 / 0.9604 GB, free: 336 kB / 0.7169 GB Notification: Performance of Templates: time 0.01002/0.9284, allocations: 3.533 MB / 0.9639 GB, free: 14.55 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