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.007077/0.007077, allocations: 105.4 kB / 15.74 MB, free: 6.488 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.001351/0.001351, allocations: 194.9 kB / 16.68 MB, free: 6.375 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.336/2.336, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 66.88 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2799, 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.00354/0.2834, allocations: 1.735 MB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.2853, allocations: 0.9046 MB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.2855, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.2858, allocations: 27.73 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005185/0.2863, allocations: 115.4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.2868, allocations: 159.6 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.2872, allocations: 239.3 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2873, allocations: 41.66 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.2875, allocations: 111.7 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009863/0.2974, allocations: 1.697 MB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.879e-05/0.2975, allocations: 16 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.2977, allocations: 36 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.2978, allocations: 39.84 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.2979, allocations: 99.48 kB / 1.093 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.2984, allocations: 216.2 kB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.2984, allocations: 0 / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2984, allocations: 3.938 kB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2984, 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.0009578/0.2994, allocations: 0.545 MB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.2994, allocations: 15.97 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.2995, allocations: 42.73 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/0.2996, allocations: 24.66 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.2999, allocations: 243.3 kB / 1.094 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2999, allocations: 12 kB / 1.094 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.2999, allocations: 15.98 kB / 1.094 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3001, allocations: 93.66 kB / 1.094 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3001, allocations: 0 / 1.094 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3002, allocations: 3.984 kB / 1.094 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3002, allocations: 4 kB / 1.094 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.3003, allocations: 55.92 kB / 1.094 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.3011, allocations: 464.3 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.3017, allocations: 142.6 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.497e-05/0.3017, allocations: 36.84 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3018, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.302, allocations: 111.3 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.522e-06/0.3021, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003819/0.3024, allocations: 165.3 kB / 1.095 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.3025, allocations: 63.39 kB / 1.095 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.3027, allocations: 198.2 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.3028, allocations: 37.7 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.3029, allocations: 120.5 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.3029, allocations: 35.55 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/0.303, allocations: 57.67 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3031, allocations: 326.8 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.841e-05/0.3032, allocations: 35.98 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.3035, allocations: 132.7 kB / 1.096 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.3037, allocations: 98.56 kB / 1.096 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3037, allocations: 0 / 1.096 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003879/0.3041, allocations: 159.6 kB / 1.096 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3041, allocations: 4 kB / 1.096 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3041, allocations: 4 kB / 1.096 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3041, allocations: 0 / 1.096 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3042, allocations: 23.92 kB / 1.096 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.3043, allocations: 7.984 kB / 1.096 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.3045, allocations: 23.83 kB / 1.096 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3046, allocations: 8 kB / 1.096 GB, free: 9.473 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.0001657/0.3047, allocations: 143.6 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3048, allocations: 15.81 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.463e-05/0.3049, allocations: 21.88 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.3049, allocations: 7.984 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3049, allocations: 0 / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3049, allocations: 0 / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008349/0.3057, allocations: 498 kB / 1.097 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3058, allocations: 0 / 1.097 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.3058, allocations: 11.98 kB / 1.097 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3058, allocations: 0 / 1.097 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3058, allocations: 7.938 kB / 1.097 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3058, allocations: 0 / 1.097 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3058, allocations: 0 / 1.097 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.3062, allocations: 234.4 kB / 1.097 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.3062, allocations: 104.9 kB / 1.097 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.3063, allocations: 7.938 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.3065, allocations: 11.98 kB / 1.097 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/0.3066, allocations: 19.97 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.3066, allocations: 7.984 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001573/0.3068, allocations: 140.5 kB / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3068, allocations: 0 / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004347/0.3072, allocations: 51.92 kB / 1.097 GB, free: 8.121 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.0009179/0.3081, allocations: 0.8293 MB / 1.098 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000301/0.3085, allocations: 103.8 kB / 1.098 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3085, allocations: 0 / 1.098 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.3086, allocations: 51.92 kB / 1.098 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.3092, allocations: 62.75 kB / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.3119, allocations: 1.903 MB / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.3122, allocations: 0.7203 MB / 1.101 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.3123, allocations: 25.52 kB / 1.101 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3124, allocations: 55.41 kB / 1.101 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of SimCode: time 7.81e-07/0.3125, allocations: 8 kB / 1.101 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.3392, allocations: 5.586 MB / 1.106 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/8.004, allocations: 11.92 kB / 1.106 GB, free: 14.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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