Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_10_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.001637/0.001637, 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.002071/0.002071, allocations: 195.2 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.1 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.6813, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.00299/0.6843, allocations: 1.626 MB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009764/0.6853, allocations: 0.5733 MB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.6854, allocations: 0 / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.6856, allocations: 23.73 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.6859, allocations: 107.5 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.6862, allocations: 139.7 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.6864, allocations: 219.5 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.6865, allocations: 29.53 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.6867, allocations: 99.73 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008931/0.6956, allocations: 1.566 MB / 1.022 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.6957, allocations: 19.94 kB / 1.022 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.6958, allocations: 36 kB / 1.022 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.717e-05/0.6959, allocations: 31.91 kB / 1.022 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.696, allocations: 83.56 kB / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.6963, allocations: 195.4 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6963, allocations: 0 / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6963, allocations: 0 / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.6963, allocations: 0 / 1.022 GB, free: 14.17 MB / 0.7794 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.0006633/0.697, allocations: 0.5215 MB / 1.023 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.697, allocations: 19.98 kB / 1.023 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.6971, allocations: 38.73 kB / 1.023 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.6971, allocations: 20.75 kB / 1.023 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.6974, allocations: 227.8 kB / 1.023 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.6974, allocations: 12 kB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.6974, allocations: 8 kB / 1.023 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.6976, allocations: 85.59 kB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.6976, allocations: 0 / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.6976, allocations: 4 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6976, allocations: 0 / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.835e-05/0.6977, allocations: 51.91 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/0.6985, allocations: 444.3 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.6986, allocations: 70.48 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.729e-05/0.6986, allocations: 28.86 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.6987, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.6989, allocations: 87.38 kB / 1.024 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.6989, allocations: 192 / 1.024 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0002753/0.6992, allocations: 137.3 kB / 1.024 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.6992, allocations: 59.41 kB / 1.024 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.6994, allocations: 191.2 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.6994, allocations: 33.7 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.6995, allocations: 115.9 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.6995, allocations: 31.62 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.638e-05/0.6996, allocations: 53.69 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.6997, allocations: 330.8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.543e-05/0.6998, allocations: 27.98 kB / 1.025 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.7, allocations: 115.6 kB / 1.025 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.7001, allocations: 92.16 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.7001, allocations: 0 / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001993/0.7003, allocations: 133.4 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.7004, allocations: 7.938 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.7004, allocations: 4.047 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7004, allocations: 7.922 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.7005, allocations: 12 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.7005, allocations: 0 / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.7007, allocations: 28.02 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.7007, allocations: 8 kB / 1.025 GB, free: 10.92 MB / 0.7794 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.000111/0.7008, allocations: 137.7 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.7008, allocations: 19.75 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.7009, allocations: 13.41 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7009, allocations: 0 / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7009, allocations: 4 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.7009, allocations: 3.984 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.7014, allocations: 438.6 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7014, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.7014, allocations: 4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7014, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.7014, allocations: 3.984 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.7014, allocations: 3.984 kB / 1.026 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7014, allocations: 0 / 1.026 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.7016, allocations: 211.4 kB / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.7017, allocations: 92.86 kB / 1.026 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.7017, allocations: 4 kB / 1.026 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.7018, allocations: 11.98 kB / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.7019, allocations: 7.984 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.7019, allocations: 11.98 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.923e-05/0.702, allocations: 136 kB / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.702, allocations: 0 / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002832/0.7023, allocations: 43.98 kB / 1.026 GB, free: 9.699 MB / 0.7794 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.0005866/0.7029, allocations: 0.8027 MB / 1.027 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001839/0.7031, allocations: 87.84 kB / 1.027 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7031, allocations: 0 / 1.027 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.7032, allocations: 39.92 kB / 1.027 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.7035, allocations: 52.95 kB / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.7053, allocations: 1.768 MB / 1.029 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.7055, allocations: 0.7163 MB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.534e-05/0.7056, allocations: 21.53 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.7057, allocations: 47.41 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of SimCode: time 5.1e-07/0.7057, allocations: 3.938 kB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.7287, allocations: 4.955 MB / 1.034 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.243/7.972, allocations: 0 / 1.034 GB, free: 1.211 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches