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.007244/0.007244, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001821/0.001821, allocations: 194 kB / 16.67 MB, free: 6.348 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.411/2.411, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 65.03 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2888, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003584/0.2924, allocations: 1.721 MB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2942, allocations: 0.8969 MB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2943, allocations: 7.938 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.2946, allocations: 23.73 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004944/0.2951, allocations: 119.4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.2956, allocations: 157.7 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.296, allocations: 255.3 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2962, allocations: 37.59 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.2964, allocations: 111.7 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009839/0.3063, allocations: 1.696 MB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.884e-05/0.3064, allocations: 16 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3065, allocations: 39.98 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.3066, allocations: 39.89 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.3068, allocations: 91.45 kB / 1.093 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.3071, allocations: 219.2 kB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3072, allocations: 0 / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3072, allocations: 4 kB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3072, allocations: 0 / 1.093 GB, free: 13.02 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.0008147/0.308, allocations: 0.5526 MB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.3081, allocations: 12.03 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.3081, allocations: 46.62 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.3082, allocations: 16.84 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.3085, allocations: 251.4 kB / 1.094 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.3085, allocations: 16 kB / 1.094 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.3085, allocations: 8 kB / 1.094 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.3087, allocations: 99.31 kB / 1.094 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3087, allocations: 3.938 kB / 1.094 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3088, allocations: 4 kB / 1.094 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3088, allocations: 7.984 kB / 1.094 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3089, allocations: 47.97 kB / 1.094 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.3097, allocations: 468.4 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.3101, allocations: 134.7 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.3102, allocations: 36.84 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3102, allocations: 3.984 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.3105, allocations: 107.2 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3105, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003515/0.3108, allocations: 164.8 kB / 1.095 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3109, allocations: 59.41 kB / 1.095 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.3111, allocations: 202.3 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.3111, allocations: 33.7 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.3112, allocations: 124.5 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.3113, allocations: 43.67 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.3114, allocations: 57.67 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3115, allocations: 326.8 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.3116, allocations: 31.98 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.3118, allocations: 131.5 kB / 1.096 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.312, allocations: 114.5 kB / 1.096 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.312, allocations: 0 / 1.096 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002471/0.3122, allocations: 153.4 kB / 1.096 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3123, allocations: 8 kB / 1.096 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3123, allocations: 0 / 1.096 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3123, allocations: 4 kB / 1.096 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.3124, allocations: 11.98 kB / 1.096 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3124, allocations: 7.938 kB / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.3126, allocations: 32 kB / 1.096 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3126, allocations: 4 kB / 1.096 GB, free: 9.457 MB / 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.0001334/0.3128, allocations: 135.5 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.3128, allocations: 23.84 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.3129, allocations: 17.88 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3129, allocations: 4 kB / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3129, allocations: 0 / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3129, allocations: 3.984 kB / 1.096 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006933/0.3136, allocations: 498.2 kB / 1.097 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3136, allocations: 0 / 1.097 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.3136, allocations: 7.938 kB / 1.097 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3137, allocations: 0 / 1.097 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3137, allocations: 7.922 kB / 1.097 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3137, allocations: 8 kB / 1.097 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3137, allocations: 0 / 1.097 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.3139, allocations: 231.4 kB / 1.097 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.314, allocations: 96.95 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.314, allocations: 3.984 kB / 1.097 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3142, allocations: 19.97 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.3142, allocations: 19.97 kB / 1.097 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.3143, allocations: 4 kB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001259/0.3144, allocations: 148.4 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3144, allocations: 0 / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003297/0.3147, allocations: 47.94 kB / 1.097 GB, free: 8.109 MB / 0.8575 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.0007896/0.3155, allocations: 0.8258 MB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.3158, allocations: 115 kB / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3158, allocations: 0 / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.803e-05/0.3159, allocations: 52.17 kB / 1.098 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.3164, allocations: 59.56 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.3186, allocations: 1.904 MB / 1.1 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.3189, allocations: 0.7203 MB / 1.101 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.319, allocations: 29.52 kB / 1.101 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3191, allocations: 55.41 kB / 1.101 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.3191, allocations: 0 / 1.101 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.3438, allocations: 5.589 MB / 1.106 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/7.96, allocations: 8.812 kB / 1.106 GB, free: 14.77 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