Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_11_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.001492/0.001492, 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.001427/0.001427, allocations: 196 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.832/2.832, allocations: 469.8 MB / 0.7424 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 65.86 kB / 0.9086 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2778, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002975/0.2808, allocations: 1.627 MB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2818, allocations: 0.5655 MB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.2819, allocations: 4 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.2821, allocations: 23.73 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.2825, allocations: 115.4 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.2828, allocations: 141.6 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.2831, allocations: 211.5 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2832, allocations: 21.55 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.2833, allocations: 107.7 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01146/0.2948, allocations: 1.568 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.2948, allocations: 16 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.2949, allocations: 35.94 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.295, allocations: 35.89 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.2951, allocations: 83.52 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.2954, allocations: 195.5 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2954, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2954, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2954, allocations: 0 / 1.069 GB, free: 9.863 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.0007207/0.2962, allocations: 0.5177 MB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2962, allocations: 12.03 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.2962, allocations: 38.73 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.2963, allocations: 20.75 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.2966, allocations: 248.1 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2966, allocations: 8 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.2966, allocations: 12 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.2968, allocations: 85.66 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2968, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2968, allocations: 4 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2969, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.297, allocations: 50.44 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.2977, allocations: 436.5 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.2978, allocations: 74.48 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.2979, allocations: 24.84 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2979, allocations: 8 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.2981, allocations: 91.31 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.2981, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0002796/0.2984, allocations: 133.5 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.2984, allocations: 59.39 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.2986, allocations: 187 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.2987, allocations: 33.7 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.2987, allocations: 112 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.2988, allocations: 31.78 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.2989, allocations: 53.69 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.299, allocations: 330.8 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.2991, allocations: 23.98 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.2993, allocations: 107.7 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.2994, allocations: 102.7 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2994, allocations: 0 / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000208/0.2996, allocations: 133.4 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2997, allocations: 7.938 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2997, allocations: 8.062 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2997, allocations: 4 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.2998, allocations: 11.94 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2998, allocations: 4 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.3, allocations: 23.83 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.3, allocations: 4 kB / 1.072 GB, free: 6.625 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.000119/0.3001, allocations: 137.8 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.3001, allocations: 19.75 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.3002, allocations: 21.34 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3002, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3002, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3002, allocations: 3.984 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.3007, allocations: 438.2 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3007, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.3007, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3007, allocations: 4 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3008, allocations: 7.984 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3008, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3008, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.301, allocations: 203.3 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.301, allocations: 92.86 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.301, allocations: 0 / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.3011, allocations: 11.98 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.3012, allocations: 19.86 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.3012, allocations: 12 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001221/0.3014, allocations: 137.2 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3014, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002758/0.3016, allocations: 43.98 kB / 1.073 GB, free: 5.398 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.0006998/0.3023, allocations: 0.803 MB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3026, allocations: 99.78 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3026, allocations: 0 / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.868e-05/0.3026, allocations: 39.92 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.303, allocations: 35.97 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.3048, allocations: 1.767 MB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3051, allocations: 0.7163 MB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.464e-05/0.3052, allocations: 21.55 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.3053, allocations: 47.41 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3053, allocations: 0 / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2987/0.6041, allocations: 4.95 MB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.63, allocations: 15.12 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches