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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> 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.0104/0.0104, allocations: 97.94 kB / 15.73 MB, free: 6.004 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.002053/0.002054, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.952/2.952, allocations: 469.4 MB / 0.7422 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 63.89 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3685, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003909/0.3724, allocations: 1.628 MB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3737, allocations: 0.5733 MB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.3739, allocations: 4 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.3741, allocations: 27.72 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.3746, allocations: 115.5 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.3751, allocations: 143.7 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004716/0.3756, allocations: 215.5 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3757, allocations: 25.53 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.3759, allocations: 107.7 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009576/0.3855, allocations: 1.571 MB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.3856, allocations: 20 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.3857, allocations: 36 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.3858, allocations: 27.91 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.386, allocations: 95.42 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.3864, allocations: 195.3 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.3864, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3864, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.3864, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 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.0008148/0.3872, allocations: 0.5253 MB / 1.225 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3873, allocations: 12.03 kB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.3873, allocations: 38.69 kB / 1.225 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.135e-05/0.3874, allocations: 20.84 kB / 1.225 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.3877, allocations: 240.4 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.3878, allocations: 15.94 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.3878, allocations: 8 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.388, allocations: 81.31 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.388, allocations: 0 / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.388, allocations: 8 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.388, allocations: 4 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3881, allocations: 43.92 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008162/0.389, allocations: 436.5 kB / 1.226 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.3891, allocations: 78.48 kB / 1.226 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.3892, allocations: 32.84 kB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.3892, allocations: 0 / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.3894, allocations: 91.31 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.3894, allocations: 0 / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0003002/0.3897, allocations: 130 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.539e-05/0.3897, allocations: 55.41 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.3899, allocations: 195.1 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.39, allocations: 33.64 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.952e-05/0.3901, allocations: 120.1 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.3901, allocations: 27.92 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.3902, allocations: 53.67 kB / 1.227 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3904, allocations: 326.8 kB / 1.227 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.3904, allocations: 23.98 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.3907, allocations: 122.1 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3908, allocations: 84.22 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3908, allocations: 4 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002533/0.3911, allocations: 144.4 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3911, allocations: 7.938 kB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3911, allocations: 0 / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3911, allocations: 7.938 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.3912, allocations: 15.92 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3912, allocations: 4 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.3915, allocations: 24.05 kB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3915, allocations: 8 kB / 1.227 GB, free: 7.059 MB / 0.9825 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.3916, allocations: 129.8 kB / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.3917, allocations: 23.8 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.3917, allocations: 21.39 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3917, allocations: 0 / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3917, allocations: 0 / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3917, allocations: 4 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.3923, allocations: 438.3 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3923, allocations: 3.984 kB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.3924, allocations: 4 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.3924, allocations: 4 kB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3924, allocations: 0 / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3924, allocations: 0 / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3924, allocations: 0 / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.3926, allocations: 207.3 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.3927, allocations: 100.9 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.3927, allocations: 3.938 kB / 1.228 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.3928, allocations: 4 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.3929, allocations: 19.97 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.3929, allocations: 4 kB / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000133/0.3931, allocations: 137.2 kB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3931, allocations: 0 / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003242/0.3934, allocations: 40 kB / 1.228 GB, free: 5.832 MB / 0.9825 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.0008186/0.3942, allocations: 0.8051 MB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3945, allocations: 79.84 kB / 1.229 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3945, allocations: 0 / 1.229 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.4e-05/0.3946, allocations: 35.98 kB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.395, allocations: 50.94 kB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.3972, allocations: 1.774 MB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3975, allocations: 0.7202 MB / 1.232 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.377e-05/0.3976, allocations: 25.47 kB / 1.232 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.3977, allocations: 39.42 kB / 1.232 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3977, allocations: 0 / 1.232 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.4256, allocations: 5.034 MB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.423, allocations: 0 / 1.237 GB, free: 13.32 MB / 0.9981 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