Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.656/2.656, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.91 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.6882, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003154/0.6914, allocations: 1.622 MB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.6926, allocations: 0.5655 MB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.6927, allocations: 4 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.693, allocations: 31.66 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.6933, allocations: 103.5 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.6937, allocations: 147.7 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.6941, allocations: 211.5 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.6942, allocations: 29.53 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.6944, allocations: 107.7 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009319/0.7037, allocations: 1.561 MB / 1.022 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.7038, allocations: 16 kB / 1.022 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.7039, allocations: 39.98 kB / 1.022 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.704, allocations: 35.91 kB / 1.022 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.7041, allocations: 87.5 kB / 1.022 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.7044, allocations: 187.4 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7045, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7045, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.7045, allocations: 0 / 1.022 GB, free: 14.18 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007674/0.7053, allocations: 0.5215 MB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.7053, allocations: 12.03 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.7054, allocations: 20.75 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.7058, allocations: 232 kB / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.7058, allocations: 19.92 kB / 1.023 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.7059, allocations: 8 kB / 1.023 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.7061, allocations: 77.67 kB / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.7061, allocations: 0 / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.7061, allocations: 7.984 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.7061, allocations: 0 / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.87e-05/0.7062, allocations: 43.92 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/0.707, allocations: 444.3 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.7072, allocations: 66.55 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.7073, allocations: 37.03 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.7073, allocations: 3.938 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.7075, allocations: 87.38 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.7075, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.000271/0.7078, allocations: 129.4 kB / 1.024 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.7078, allocations: 55.41 kB / 1.024 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.708, allocations: 191.2 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.7081, allocations: 45.62 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.7081, allocations: 112 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.7082, allocations: 27.56 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.054e-05/0.7083, allocations: 61.66 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7084, allocations: 326.8 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.7084, allocations: 27.98 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.7087, allocations: 114 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.7088, allocations: 84.22 kB / 1.025 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7088, allocations: 0 / 1.025 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002208/0.709, allocations: 141.4 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.7091, allocations: 7.938 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.7091, allocations: 11.88 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.7091, allocations: 48 / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.7092, allocations: 23.91 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7092, allocations: 0 / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.7094, allocations: 19.91 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.7094, allocations: 4 kB / 1.025 GB, free: 10.99 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: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001182/0.7095, allocations: 145.7 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.7095, allocations: 11.81 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.7096, allocations: 21.33 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7096, allocations: 4 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.7096, allocations: 0 / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7096, allocations: 0 / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.7101, allocations: 430.4 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7101, allocations: 0 / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.7101, allocations: 11.92 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.7101, allocations: 3.938 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.7102, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7102, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7102, allocations: 4 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.7104, allocations: 203.8 kB / 1.026 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.7104, allocations: 88.92 kB / 1.026 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.7105, allocations: 11.98 kB / 1.026 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.7106, allocations: 4 kB / 1.026 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.7106, allocations: 11.98 kB / 1.026 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.7107, allocations: 11.98 kB / 1.026 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001046/0.7108, allocations: 128.1 kB / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7108, allocations: 0 / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002986/0.7111, allocations: 43.98 kB / 1.026 GB, free: 9.781 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002931/0.7114, allocations: 179.3 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.7116, allocations: 87.91 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7116, allocations: 0 / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.951e-05/0.7117, allocations: 39.92 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.712, allocations: 42.09 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.7126, allocations: 271.3 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.7129, allocations: 0.7163 MB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.545e-05/0.713, allocations: 25.53 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.7131, allocations: 19.44 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of SimCode: time 2.425e-06/0.7131, allocations: 0 / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of Templates: time 0.007344/0.7204, allocations: 3.294 MB / 1.03 GB, free: 5.117 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches