Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_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.007516/0.007516, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001843/0.001843, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 59.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8261/0.8275, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00263/0.8302, allocations: 1.734 MB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.8315, allocations: 0.8922 MB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.8316, allocations: 5.062 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.8318, allocations: 30.64 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.8321, allocations: 113.7 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.8325, allocations: 148.9 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.8328, allocations: 250.3 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.8329, allocations: 42.17 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.8331, allocations: 106.8 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.8431, allocations: 1.698 MB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.14e-05/0.8432, allocations: 21.97 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.8434, allocations: 38.28 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.8435, allocations: 36.11 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.8436, allocations: 99.77 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.8441, allocations: 218.8 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8441, allocations: 4.625 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8441, allocations: 0 / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.8441, allocations: 0.7812 kB / 1.093 GB, free: 2.465 MB / 0.8575 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.0008312/0.8449, allocations: 0.5543 MB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.845, allocations: 9.906 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.845, allocations: 40.91 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.813e-05/0.8451, allocations: 27.56 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.8454, allocations: 236.9 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.8454, allocations: 11.52 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.8455, allocations: 10.56 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.8457, allocations: 95.38 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.8457, allocations: 4.797 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.8457, allocations: 5.531 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.8457, allocations: 2.375 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.8459, allocations: 52.08 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007972/0.8467, allocations: 465.7 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.8471, allocations: 135.5 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.608e-05/0.8472, allocations: 37.97 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.8472, allocations: 1 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.8475, allocations: 113.4 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.8475, allocations: 0 / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003886/0.8479, allocations: 166.8 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.8479, allocations: 55.77 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.8482, allocations: 204.6 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.8482, allocations: 33.81 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.8483, allocations: 130.7 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.8484, allocations: 31.92 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.8485, allocations: 59.09 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.8485, allocations: 329.2 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.8486, allocations: 34.48 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.8489, allocations: 130.6 kB / 1.096 GB, free: 180 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.849, allocations: 101.7 kB / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.849, allocations: 0 / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002751/0.8493, allocations: 158.4 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.8494, allocations: 5.594 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.8494, allocations: 1.75 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.8494, allocations: 2.859 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.8495, allocations: 17 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.8495, allocations: 6.344 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.8497, allocations: 29.05 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.8498, allocations: 5.094 kB / 1.096 GB, free: 4 kB / 0.8575 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.0001658/0.8499, allocations: 142.3 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.85, allocations: 16.3 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.85, allocations: 24.05 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.85, allocations: 2.656 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.8501, allocations: 0.75 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.8501, allocations: 0.7031 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000764/0.8508, allocations: 0.4909 MB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8508, allocations: 5.312 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.8509, allocations: 6.984 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.8509, allocations: 1.75 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.8509, allocations: 10.14 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.8509, allocations: 1 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8509, allocations: 0.75 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.8512, allocations: 228.2 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.8513, allocations: 94.5 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.8513, allocations: 10.16 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.8515, allocations: 19.91 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.8516, allocations: 23.53 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.8516, allocations: 7.5 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001413/0.8517, allocations: 142 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8517, allocations: 0 / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003455/0.8521, allocations: 44.67 kB / 1.097 GB, free: 15.05 MB / 0.8731 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.0007385/0.8528, allocations: 0.8305 MB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.8531, allocations: 112.1 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8531, allocations: 0 / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.8532, allocations: 57.83 kB / 1.098 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.8537, allocations: 47.86 kB / 1.098 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.8561, allocations: 1.902 MB / 1.1 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.8565, allocations: 0.7236 MB / 1.101 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.8566, allocations: 21.45 kB / 1.101 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.8567, allocations: 55.91 kB / 1.101 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8567, allocations: 0 / 1.101 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.8871, allocations: 5.599 MB / 1.106 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/8.351, allocations: 6.25 kB / 1.106 GB, free: 11.31 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches