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.001447/0.001447, 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.001683/0.001683, allocations: 191 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.43 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.654/2.654, allocations: 437 MB / 0.71 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 59.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6527/0.6541, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003182/0.6573, allocations: 1.893 MB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.6589, allocations: 0.9358 MB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.721e-05/0.659, allocations: 4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.6592, allocations: 19.86 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.6596, allocations: 95.59 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.66, allocations: 151.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.6602, allocations: 243.4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.6604, allocations: 33.66 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.6605, allocations: 107.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02248/0.683, allocations: 1.702 MB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.6831, allocations: 16 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.6832, allocations: 35.98 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.6833, allocations: 35.91 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.6834, allocations: 99.48 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.6838, allocations: 215.3 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6838, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6838, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.6838, allocations: 4 kB / 1.022 GB, free: 13.59 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.0008164/0.6846, allocations: 0.5489 MB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6847, allocations: 8.031 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.6847, allocations: 20.75 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.685, allocations: 243.5 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.685, allocations: 8 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.6851, allocations: 19.94 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.6853, allocations: 89.66 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.6853, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.6853, allocations: 7.922 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.6853, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.6855, allocations: 47.98 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/0.6862, allocations: 472.3 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.6867, allocations: 138.7 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.368e-05/0.6868, allocations: 40.78 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.6868, allocations: 0 / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.687, allocations: 115.2 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.687, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003298/0.6873, allocations: 164.9 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.6874, allocations: 63.34 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.6876, allocations: 196.3 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.6876, allocations: 33.7 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.6877, allocations: 124.4 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.6877, allocations: 35.61 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.983e-05/0.6878, allocations: 49.69 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.6879, allocations: 330.8 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.688, allocations: 39.92 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.6883, allocations: 128.9 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.6884, allocations: 99.67 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6884, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002397/0.6886, allocations: 161.2 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6887, allocations: 8 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.6887, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6887, allocations: 4 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.6888, allocations: 15.94 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6888, allocations: 4 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.689, allocations: 39.88 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.689, allocations: 4 kB / 1.025 GB, free: 10.1 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.0001229/0.6892, allocations: 144 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.6892, allocations: 15.81 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.6892, allocations: 21.86 kB / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.6893, allocations: 0 / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6893, allocations: 0 / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6893, allocations: 0 / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006523/0.6899, allocations: 0.4903 MB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.6899, allocations: 0 / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.69, allocations: 8 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.69, allocations: 0 / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.69, allocations: 0 / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.69, allocations: 7.938 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.69, allocations: 4 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.6902, allocations: 231.2 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.6903, allocations: 96.86 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.6903, allocations: 3.984 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.6905, allocations: 15.92 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.6906, allocations: 19.98 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.6906, allocations: 11.98 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001206/0.6907, allocations: 143.3 kB / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6907, allocations: 0 / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003152/0.691, allocations: 44 kB / 1.027 GB, free: 8.766 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.0003288/0.6914, allocations: 170.2 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.6916, allocations: 116.9 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6916, allocations: 0 / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.6917, allocations: 59.86 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.6922, allocations: 64.38 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.6928, allocations: 347.4 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.6931, allocations: 0.7278 MB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.107e-05/0.6932, allocations: 25.55 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.6933, allocations: 31.36 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6933, allocations: 0 / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of Templates: time 0.007146/0.7004, allocations: 3.611 MB / 1.032 GB, free: 3.633 MB / 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