Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0009967/0.0009963, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006036/0.006036, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 12 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.7479, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002377/0.7504, allocations: 1.535 MB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.7522, allocations: 0.9283 MB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.7524, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.7526, allocations: 19.84 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.7529, allocations: 99.55 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.7533, allocations: 143.7 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.7536, allocations: 235.3 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.7538, allocations: 29.67 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.7539, allocations: 91.67 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04947/0.8034, allocations: 3.318 MB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.775e-05/0.8035, allocations: 8 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.8036, allocations: 31.92 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.8037, allocations: 31.84 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.8038, allocations: 113.2 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.8041, allocations: 195.3 kB / 1.03 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.8041, allocations: 0 / 1.03 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8041, allocations: 4 kB / 1.03 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.8041, allocations: 0 / 1.03 GB, free: 9.883 MB / 0.7794 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.0007797/0.8049, allocations: 0.5215 MB / 1.03 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.805, allocations: 12.03 kB / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/0.8051, allocations: 24.75 kB / 1.03 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.8054, allocations: 239.5 kB / 1.03 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.8054, allocations: 15.98 kB / 1.03 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.8055, allocations: 12 kB / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.8056, allocations: 93.59 kB / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.8057, allocations: 0 / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.8057, allocations: 0 / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.8057, allocations: 4 kB / 1.031 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.8058, allocations: 51.97 kB / 1.031 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000803/0.8066, allocations: 488.3 kB / 1.031 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.8071, allocations: 150.7 kB / 1.031 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.211e-05/0.8072, allocations: 36.84 kB / 1.031 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.8072, allocations: 4 kB / 1.031 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.8074, allocations: 107.2 kB / 1.031 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.8074, allocations: 3.938 kB / 1.031 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003376/0.8077, allocations: 173.3 kB / 1.031 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.8078, allocations: 55.41 kB / 1.032 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.808, allocations: 188.4 kB / 1.032 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.808, allocations: 41.62 kB / 1.032 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.8081, allocations: 116.5 kB / 1.032 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.8082, allocations: 39.55 kB / 1.032 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.8082, allocations: 29.7 kB / 1.032 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.8083, allocations: 334.8 kB / 1.032 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.8084, allocations: 39.92 kB / 1.032 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.8086, allocations: 127.2 kB / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.8088, allocations: 104.1 kB / 1.033 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8088, allocations: 0 / 1.033 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002436/0.8091, allocations: 159.9 kB / 1.033 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.8091, allocations: 4 kB / 1.033 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.8091, allocations: 0 / 1.033 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.8091, allocations: 4 kB / 1.033 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.8092, allocations: 12 kB / 1.033 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.8092, allocations: 8.062 kB / 1.033 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.8094, allocations: 39.81 kB / 1.033 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.8095, allocations: 4 kB / 1.033 GB, free: 6.414 MB / 0.7794 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.0001238/0.8096, allocations: 136.1 kB / 1.033 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.8096, allocations: 15.81 kB / 1.033 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.8097, allocations: 21.86 kB / 1.033 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.8097, allocations: 8 kB / 1.033 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8097, allocations: 4 kB / 1.033 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8097, allocations: 0 / 1.033 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.8104, allocations: 0.5021 MB / 1.033 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.8104, allocations: 0 / 1.033 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.8104, allocations: 3.938 kB / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.8104, allocations: 4 kB / 1.033 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-06/0.8104, allocations: 0 / 1.033 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.8105, allocations: 3.938 kB / 1.033 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8105, allocations: 3.938 kB / 1.033 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.8107, allocations: 234.8 kB / 1.034 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.8108, allocations: 100.8 kB / 1.034 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.8108, allocations: 4 kB / 1.034 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.811, allocations: 23.92 kB / 1.034 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.811, allocations: 19.97 kB / 1.034 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.8111, allocations: 7.938 kB / 1.034 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001191/0.8112, allocations: 147.3 kB / 1.034 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8112, allocations: 0 / 1.034 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003167/0.8115, allocations: 51.89 kB / 1.034 GB, free: 5.047 MB / 0.7794 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.0003201/0.8118, allocations: 167.9 kB / 1.034 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.8121, allocations: 103.8 kB / 1.034 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.8121, allocations: 0 / 1.034 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.988e-05/0.8122, allocations: 51.92 kB / 1.034 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.8126, allocations: 57.48 kB / 1.034 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.8133, allocations: 349.8 kB / 1.035 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.8136, allocations: 0.7283 MB / 1.035 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.353e-05/0.8137, allocations: 25.53 kB / 1.035 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.8137, allocations: 27.36 kB / 1.035 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of SimCode: time 1.633e-06/0.8137, allocations: 3.938 kB / 1.035 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of Templates: time 0.00764/0.8214, allocations: 3.471 MB / 1.039 GB, free: 72 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches