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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005307/0.005307, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001091/0.001091, allocations: 197.3 kB / 16.67 MB, free: 5.984 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.353/2.353, allocations: 390.2 MB / 0.6648 GB, free: 128 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 62.19 kB / 0.9504 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2786, allocations: 140.4 MB / 1.087 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.0028/0.2814, allocations: 1.624 MB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2825, allocations: 0.5668 MB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.2826, allocations: 0 / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.2828, allocations: 31.72 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.2831, allocations: 107.5 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.2834, allocations: 151.7 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.2837, allocations: 223.5 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2838, allocations: 21.55 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.2839, allocations: 99.73 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008771/0.2927, allocations: 1.585 MB / 1.092 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.292e-05/0.2928, allocations: 16 kB / 1.092 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.2929, allocations: 28 kB / 1.092 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.293, allocations: 31.91 kB / 1.092 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.2931, allocations: 83.56 kB / 1.092 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.2934, allocations: 203.9 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2935, allocations: 0 / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2935, allocations: 4 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.2935, allocations: 0 / 1.092 GB, free: 13.78 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.0007541/0.2942, allocations: 0.5142 MB / 1.093 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2943, allocations: 8.031 kB / 1.093 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.2943, allocations: 42.73 kB / 1.093 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.2944, allocations: 16.75 kB / 1.093 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.2947, allocations: 252.1 kB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.2948, allocations: 11.98 kB / 1.093 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.2948, allocations: 8 kB / 1.093 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.295, allocations: 84.61 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.295, allocations: 4 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.295, allocations: 4 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.295, allocations: 4 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.593e-05/0.2951, allocations: 39.98 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.2958, allocations: 436.4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.296, allocations: 78.55 kB / 1.094 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.296, allocations: 28.84 kB / 1.094 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.2961, allocations: 3.938 kB / 1.094 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.2963, allocations: 91.5 kB / 1.094 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.2963, allocations: 0 / 1.094 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0002763/0.2966, allocations: 125.4 kB / 1.094 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.2966, allocations: 59.41 kB / 1.094 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.2968, allocations: 195 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.2968, allocations: 33.64 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.2969, allocations: 120.1 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.2969, allocations: 23.7 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.297, allocations: 53.67 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2972, allocations: 330.8 kB / 1.095 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.374e-05/0.2972, allocations: 31.98 kB / 1.095 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.2974, allocations: 107.7 kB / 1.095 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.2975, allocations: 88.22 kB / 1.095 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2976, allocations: 0 / 1.095 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002089/0.2978, allocations: 133.4 kB / 1.095 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2978, allocations: 11.94 kB / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2978, allocations: 0 / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2978, allocations: 0 / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.2979, allocations: 15.98 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2979, allocations: 4.062 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.2981, allocations: 27.84 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.2981, allocations: 4 kB / 1.095 GB, free: 10.55 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.0001314/0.2983, allocations: 133.8 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.2983, allocations: 19.75 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.2983, allocations: 17.39 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2984, allocations: 4 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2984, allocations: 0 / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2984, allocations: 0 / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.2989, allocations: 438.6 kB / 1.096 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.2989, allocations: 0 / 1.096 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.2989, allocations: 15.92 kB / 1.096 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2989, allocations: 0 / 1.096 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2989, allocations: 0 / 1.096 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2989, allocations: 4 kB / 1.096 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.299, allocations: 0 / 1.096 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.2992, allocations: 215.3 kB / 1.096 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.2992, allocations: 92.91 kB / 1.096 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.2993, allocations: 3.984 kB / 1.096 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.2994, allocations: 4 kB / 1.096 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.2994, allocations: 19.98 kB / 1.096 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.2995, allocations: 7.984 kB / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001005/0.2996, allocations: 133.2 kB / 1.096 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2996, allocations: 0 / 1.096 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002855/0.2999, allocations: 51.98 kB / 1.096 GB, free: 9.312 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.0005985/0.3005, allocations: 0.7968 MB / 1.097 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001879/0.3007, allocations: 79.91 kB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3007, allocations: 0 / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.812e-05/0.3007, allocations: 39.92 kB / 1.097 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.3011, allocations: 50.14 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.3029, allocations: 1.775 MB / 1.099 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.3031, allocations: 0.7124 MB / 1.099 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.649e-05/0.3032, allocations: 29.45 kB / 1.099 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-05/0.3033, allocations: 39.42 kB / 1.099 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3033, allocations: 0 / 1.099 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.3259, allocations: 5.009 MB / 1.104 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.916, allocations: 7.984 kB / 1.104 GB, free: 0.7812 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches