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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_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.001237/0.001237, 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.001253/0.001253, allocations: 195.5 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.645/2.645, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 64.8 kB / 0.9082 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2698, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003052/0.2729, allocations: 1.63 MB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.274, allocations: 0.5694 MB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.2742, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.2744, allocations: 31.73 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.2748, allocations: 99.53 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.2752, allocations: 153 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.2755, allocations: 215.5 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.2757, allocations: 29.53 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.2758, allocations: 99.73 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009263/0.2851, allocations: 1.562 MB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.732e-05/0.2852, allocations: 16 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.2853, allocations: 31.98 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.384e-05/0.2854, allocations: 31.91 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.2856, allocations: 83.56 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.2859, allocations: 191.5 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2859, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2859, allocations: 7.938 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.2859, allocations: 0 / 1.068 GB, free: 10.22 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.0007673/0.2867, allocations: 0.5255 MB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2868, allocations: 8.031 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.2868, allocations: 42.73 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.2869, allocations: 16.75 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.2872, allocations: 244.1 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.2872, allocations: 16 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.2872, allocations: 12 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.2874, allocations: 84.33 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2874, allocations: 3.984 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2874, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2875, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.2876, allocations: 43.97 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007602/0.2883, allocations: 448.4 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.2885, allocations: 66.56 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.2885, allocations: 28.84 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.2886, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.2888, allocations: 99.38 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.2888, allocations: 0 / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0002843/0.2891, allocations: 133.3 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2891, allocations: 59.41 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.2893, allocations: 187 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.2893, allocations: 33.7 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.2894, allocations: 112 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.2894, allocations: 35.77 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.2895, allocations: 49.69 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.2896, allocations: 330.8 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.2897, allocations: 24 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.2899, allocations: 121.3 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.29, allocations: 92.16 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2901, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002166/0.2903, allocations: 127.9 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2903, allocations: 20.05 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2903, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2903, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.2904, allocations: 16 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2904, allocations: 0 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.2906, allocations: 23.83 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.2906, allocations: 8 kB / 1.071 GB, free: 6.977 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.0001101/0.2908, allocations: 129.8 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.2908, allocations: 23.73 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.2908, allocations: 17.41 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2908, allocations: 8 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2909, allocations: 0 / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.2909, allocations: 0 / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.2913, allocations: 434.2 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2914, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.2914, allocations: 4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2914, allocations: 4 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2914, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2914, allocations: 7.938 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2914, allocations: 3.984 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.2916, allocations: 203.3 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.2917, allocations: 96.89 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.2917, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2918, allocations: 11.98 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.2919, allocations: 19.92 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.2919, allocations: 8 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001071/0.292, allocations: 137.1 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.292, allocations: 0 / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003093/0.2923, allocations: 40 kB / 1.072 GB, free: 5.754 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.0006319/0.293, allocations: 0.7975 MB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.2932, allocations: 91.83 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2932, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.035e-05/0.2933, allocations: 35.94 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.2937, allocations: 51.45 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.2956, allocations: 1.773 MB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.2959, allocations: 0.7163 MB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.589e-05/0.296, allocations: 21.53 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.158e-05/0.2961, allocations: 43.42 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2961, allocations: 0 / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.3165, allocations: 4.963 MB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.853, allocations: 6.875 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv","/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