Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.000922/0.000922, allocations: 91.53 kB / 16.02 MB, free: 80 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.001548/0.001548, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.855/2.855, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 7.625 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3298, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002487/0.3324, allocations: 1.436 MB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3337, allocations: 0.6007 MB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.3339, allocations: 7.938 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.3341, allocations: 23.84 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.3345, allocations: 83.67 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.3349, allocations: 135.8 kB / 1.062 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.3352, allocations: 203.5 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.3354, allocations: 29.47 kB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.3356, allocations: 79.75 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04822/0.3838, allocations: 3.206 MB / 1.065 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.384, allocations: 8 kB / 1.065 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.3842, allocations: 20 kB / 1.065 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.534e-05/0.3842, allocations: 27.91 kB / 1.065 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.3844, allocations: 101.3 kB / 1.065 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.3848, allocations: 131.7 kB / 1.065 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3848, allocations: 0 / 1.065 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3848, allocations: 0 / 1.065 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3848, allocations: 0 / 1.065 GB, free: 15.65 MB / 0.8262 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.0009178/0.3857, allocations: 0.4944 MB / 1.066 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.3858, allocations: 11.97 kB / 1.066 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.907e-05/0.3859, allocations: 20.73 kB / 1.066 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.3863, allocations: 232 kB / 1.066 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.3863, allocations: 19.86 kB / 1.066 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.3864, allocations: 12 kB / 1.066 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.3866, allocations: 85.61 kB / 1.066 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3866, allocations: 0 / 1.066 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.3866, allocations: 3.984 kB / 1.066 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3866, allocations: 4 kB / 1.066 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3867, allocations: 39.98 kB / 1.066 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.3877, allocations: 456.3 kB / 1.067 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3879, allocations: 70.55 kB / 1.067 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.388, allocations: 28.86 kB / 1.067 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.388, allocations: 7.984 kB / 1.067 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.3882, allocations: 87.5 kB / 1.067 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.913e-06/0.3882, allocations: 0 / 1.067 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0003559/0.3886, allocations: 133.7 kB / 1.067 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.3886, allocations: 55.41 kB / 1.067 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.3889, allocations: 175.2 kB / 1.067 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.3889, allocations: 37.69 kB / 1.067 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.389, allocations: 120 kB / 1.067 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.3891, allocations: 39.64 kB / 1.067 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.3891, allocations: 21.7 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3893, allocations: 326.8 kB / 1.068 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.68e-05/0.3894, allocations: 27.98 kB / 1.068 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.3896, allocations: 115.6 kB / 1.068 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.3898, allocations: 88.22 kB / 1.068 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3898, allocations: 0 / 1.068 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002343/0.39, allocations: 140.1 kB / 1.068 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3901, allocations: 8 kB / 1.068 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3901, allocations: 3.938 kB / 1.068 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3901, allocations: 3.938 kB / 1.068 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.3902, allocations: 15.98 kB / 1.068 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3902, allocations: 4 kB / 1.068 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.3904, allocations: 27.83 kB / 1.068 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.3904, allocations: 4 kB / 1.068 GB, free: 12.5 MB / 0.8262 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.0001302/0.3906, allocations: 137.9 kB / 1.068 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3906, allocations: 7.906 kB / 1.068 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.3906, allocations: 21.33 kB / 1.068 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3906, allocations: 4 kB / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3907, allocations: 0 / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3907, allocations: 0 / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.3913, allocations: 446.3 kB / 1.069 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3913, allocations: 3.984 kB / 1.069 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.3914, allocations: 4 kB / 1.069 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3914, allocations: 0 / 1.069 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3914, allocations: 7.938 kB / 1.069 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3914, allocations: 0 / 1.069 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3914, allocations: 7.922 kB / 1.069 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3917, allocations: 207.3 kB / 1.069 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.3917, allocations: 96.84 kB / 1.069 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3918, allocations: 0 / 1.069 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3919, allocations: 15.98 kB / 1.069 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.128e-05/0.3919, allocations: 11.98 kB / 1.069 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.392, allocations: 8 kB / 1.069 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001157/0.3921, allocations: 137.1 kB / 1.069 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3921, allocations: 0 / 1.069 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003042/0.3924, allocations: 44 kB / 1.069 GB, free: 11.27 MB / 0.8262 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.000364/0.3928, allocations: 167.3 kB / 1.069 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.393, allocations: 77.41 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.393, allocations: 0 / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/0.3931, allocations: 35.98 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.3935, allocations: 46.8 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.3942, allocations: 347.9 kB / 1.07 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.3946, allocations: 0.7166 MB / 1.07 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.3946, allocations: 23.38 kB / 1.071 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3946, allocations: 0 / 1.071 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of Templates: time 0.00569/0.4003, allocations: 2.887 MB / 1.073 GB, free: 6.957 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches