Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.001388/0.001388, allocations: 108 kB / 15.6 MB, free: 132 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.001429/0.001429, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.625/2.625, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 55.91 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5795/0.5809, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00319/0.5841, allocations: 1.729 MB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.5857, allocations: 0.9007 MB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.5858, allocations: 7.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.586, allocations: 27.73 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.5864, allocations: 115.4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.5868, allocations: 155.3 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.5871, allocations: 247.4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.5872, allocations: 37.56 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.5874, allocations: 111.6 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009688/0.5971, allocations: 1.683 MB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.841e-05/0.5972, allocations: 16 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.5973, allocations: 47.84 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.5974, allocations: 31.91 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.5975, allocations: 99.48 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.5979, allocations: 207.3 kB / 1.023 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5979, allocations: 0 / 1.023 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5979, allocations: 0 / 1.023 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.5979, allocations: 0 / 1.023 GB, free: 13.53 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007719/0.5987, allocations: 0.5566 MB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5987, allocations: 8.031 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.5988, allocations: 42.75 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.5988, allocations: 24.75 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.5991, allocations: 243.2 kB / 1.024 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.5991, allocations: 8 kB / 1.024 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.5992, allocations: 20 kB / 1.024 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.5994, allocations: 89.64 kB / 1.024 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5994, allocations: 0 / 1.024 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.5994, allocations: 8 kB / 1.024 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.5994, allocations: 0 / 1.024 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.5995, allocations: 51.91 kB / 1.024 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007286/0.6002, allocations: 468.4 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.6007, allocations: 138.7 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.222e-05/0.6007, allocations: 44.78 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.6008, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.601, allocations: 111 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.601, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003297/0.6013, allocations: 169.3 kB / 1.025 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.6014, allocations: 55.41 kB / 1.025 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.6015, allocations: 198.5 kB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.6016, allocations: 33.7 kB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.6017, allocations: 132.4 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.6017, allocations: 27.61 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.6018, allocations: 61.67 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.6019, allocations: 326.8 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.602, allocations: 27.98 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.6022, allocations: 138.7 kB / 1.026 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.6023, allocations: 108.2 kB / 1.026 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6023, allocations: 0 / 1.026 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002323/0.6026, allocations: 149.3 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.6026, allocations: 6.812 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6026, allocations: 3.938 kB / 1.026 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6026, allocations: 7.938 kB / 1.026 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.6027, allocations: 15.98 kB / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.6027, allocations: 0 / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.6029, allocations: 31.95 kB / 1.026 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.603, allocations: 8 kB / 1.026 GB, free: 9.98 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: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,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,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001182/0.6031, allocations: 143.5 kB / 1.026 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.6031, allocations: 19.8 kB / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.6032, allocations: 17.88 kB / 1.026 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.6032, allocations: 0 / 1.026 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6032, allocations: 4 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6032, allocations: 0 / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006116/0.6038, allocations: 0.4903 MB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6038, allocations: 3.938 kB / 1.027 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.6038, allocations: 7.938 kB / 1.027 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6038, allocations: 4 kB / 1.027 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.6039, allocations: 7.938 kB / 1.027 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6039, allocations: 3.984 kB / 1.027 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6039, allocations: 0 / 1.027 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.6041, allocations: 230.6 kB / 1.027 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.6042, allocations: 100.8 kB / 1.027 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.6042, allocations: 7.938 kB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.6043, allocations: 11.98 kB / 1.027 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.6044, allocations: 23.97 kB / 1.027 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.6044, allocations: 4 kB / 1.027 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001082/0.6045, allocations: 139.2 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6045, allocations: 0 / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002994/0.6048, allocations: 44 kB / 1.027 GB, free: 8.641 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006847/0.6055, allocations: 0.8283 MB / 1.028 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.6058, allocations: 119.9 kB / 1.028 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6058, allocations: 4.062 kB / 1.028 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.6059, allocations: 55.92 kB / 1.028 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.6063, allocations: 58.31 kB / 1.028 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.6083, allocations: 1.896 MB / 1.03 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.6085, allocations: 0.7281 MB / 1.031 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.687e-05/0.6086, allocations: 17.55 kB / 1.031 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.601e-05/0.6087, allocations: 55.41 kB / 1.031 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6087, allocations: 0 / 1.031 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.6304, allocations: 5.538 MB / 1.036 GB, free: 15.37 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/7.89, allocations: 12.72 kB / 1.036 GB, free: 15.36 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_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_PlotterActivationGlobalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches