Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_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_9_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.007729/0.007729, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001595/0.001595, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.654/1.654, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.489/2.489, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 62.56 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.364, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.00424/0.3683, allocations: 1.633 MB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.3701, allocations: 0.563 MB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.3704, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.3708, allocations: 35.72 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006729/0.3715, allocations: 115.5 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.3721, allocations: 151.6 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.3725, allocations: 207.5 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.3727, allocations: 29.53 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.3729, allocations: 99.67 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009802/0.3827, allocations: 1.572 MB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.3829, allocations: 16 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.383, allocations: 32 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-05/0.3831, allocations: 35.91 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.3833, allocations: 87.5 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.3839, allocations: 199.4 kB / 1.093 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3839, allocations: 0 / 1.093 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3839, allocations: 0 / 1.093 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.3839, allocations: 0 / 1.093 GB, free: 13.14 MB / 0.8575 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.001019/0.3849, allocations: 0.5216 MB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.385, allocations: 8.031 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3851, allocations: 20.73 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.3855, allocations: 240.4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3855, allocations: 7.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.3855, allocations: 12 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.3858, allocations: 93.16 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.3858, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.3858, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.3858, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.386, allocations: 47.91 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/0.3869, allocations: 440.4 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.3871, allocations: 70.5 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.3871, allocations: 28.84 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.3872, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003781/0.3875, allocations: 87.31 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.3876, allocations: 0 / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003575/0.3879, allocations: 145.8 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.388, allocations: 55.39 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.3882, allocations: 183.1 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.3883, allocations: 33.7 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3884, allocations: 124 kB / 1.095 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.3884, allocations: 27.69 kB / 1.095 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3885, allocations: 49.69 kB / 1.095 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3887, allocations: 322.8 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.43e-05/0.3887, allocations: 31.98 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.389, allocations: 117.9 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.3891, allocations: 88.11 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3892, allocations: 3.938 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002599/0.3894, allocations: 129.4 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3895, allocations: 8 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3895, allocations: 3.938 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.3895, allocations: 4 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.3896, allocations: 15.92 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3896, allocations: 8.125 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.3898, allocations: 23.83 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3899, allocations: 4 kB / 1.095 GB, free: 9.953 MB / 0.8575 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.0001611/0.39, allocations: 133.8 kB / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.3901, allocations: 15.81 kB / 1.096 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.3901, allocations: 25.33 kB / 1.096 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3901, allocations: 0 / 1.096 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3901, allocations: 4 kB / 1.096 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3902, allocations: 4 kB / 1.096 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006954/0.3909, allocations: 442.2 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3909, allocations: 0 / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.3909, allocations: 4 kB / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3909, allocations: 0 / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3909, allocations: 8 kB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.3909, allocations: 0 / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3909, allocations: 0 / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.3912, allocations: 211.2 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.3913, allocations: 92.86 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.3913, allocations: 4 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-05/0.3914, allocations: 7.984 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.3915, allocations: 20.02 kB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.3915, allocations: 4 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001401/0.3917, allocations: 137.1 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3917, allocations: 4 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00032/0.392, allocations: 43.94 kB / 1.096 GB, free: 8.719 MB / 0.8575 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.0003931/0.3924, allocations: 152 kB / 1.097 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.3927, allocations: 75.91 kB / 1.097 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3927, allocations: 4 kB / 1.097 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/0.3928, allocations: 35.92 kB / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.3932, allocations: 57.28 kB / 1.097 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007192/0.3939, allocations: 283.1 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.3943, allocations: 0.7124 MB / 1.098 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.802e-05/0.3944, allocations: 25.47 kB / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.3945, allocations: 23.42 kB / 1.098 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of SimCode: time 1.133e-06/0.3945, allocations: 4 kB / 1.098 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of Templates: time 0.008637/0.4031, allocations: 3.352 MB / 1.101 GB, free: 3.996 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches