Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_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.001878/0.001878, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002486/0.002486, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.39 kB / 0.8985 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3104, allocations: 157.4 MB / 1.052 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002953/0.3134, allocations: 1.889 MB / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3148, allocations: 0.9474 MB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.3149, allocations: 4 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.3151, allocations: 23.84 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.3154, allocations: 95.61 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.3157, allocations: 138.8 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.3159, allocations: 235.3 kB / 1.055 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.316, allocations: 33.67 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.3161, allocations: 103.7 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02265/0.3388, allocations: 1.557 MB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.303e-05/0.3389, allocations: 12 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.3391, allocations: 28 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.875e-05/0.3391, allocations: 39.83 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.3393, allocations: 83.56 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.3396, allocations: 207.3 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3397, allocations: 0 / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3397, allocations: 7.938 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.3397, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 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.000924/0.3406, allocations: 0.5372 MB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3407, allocations: 11.97 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.588e-05/0.3407, allocations: 46.69 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.552e-05/0.3408, allocations: 28.73 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.3411, allocations: 247.2 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3412, allocations: 4 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.3412, allocations: 16 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3414, allocations: 89.64 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3414, allocations: 4 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3414, allocations: 7.938 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3415, allocations: 0 / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.3416, allocations: 53.12 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008121/0.3424, allocations: 468.3 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.3428, allocations: 138.7 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.3429, allocations: 40.84 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.343, allocations: 0 / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.3431, allocations: 115.2 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.3432, allocations: 0 / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003483/0.3435, allocations: 172.4 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3436, allocations: 55.39 kB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.3438, allocations: 192.3 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.3438, allocations: 33.7 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3439, allocations: 128.5 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.344, allocations: 31.55 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.3441, allocations: 65.67 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3442, allocations: 326.8 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.3443, allocations: 31.98 kB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.3446, allocations: 124.2 kB / 1.06 GB, free: 48 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.3448, allocations: 106.6 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3448, allocations: 0 / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002703/0.345, allocations: 155.3 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3451, allocations: 4 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3451, allocations: 4.125 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3451, allocations: 4 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.3452, allocations: 19.92 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3452, allocations: 7.984 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.3454, allocations: 31.77 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3454, allocations: 4 kB / 1.061 GB, free: 15.7 MB / 0.8262 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.0001599/0.3456, allocations: 143.5 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.3456, allocations: 15.81 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.3457, allocations: 21.88 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3457, allocations: 7.938 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3457, allocations: 0 / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3457, allocations: 7.984 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007274/0.3465, allocations: 498 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3465, allocations: 0 / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.3465, allocations: 0 / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3465, allocations: 8 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3465, allocations: 7.922 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3466, allocations: 0 / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3466, allocations: 0 / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.3468, allocations: 231.2 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.3469, allocations: 92.92 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.3469, allocations: 7.938 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.347, allocations: 15.98 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.3471, allocations: 19.97 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.3471, allocations: 11.98 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001265/0.3473, allocations: 140.2 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3473, allocations: 0 / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003165/0.3476, allocations: 51.92 kB / 1.062 GB, free: 14.35 MB / 0.8262 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.0007164/0.3483, allocations: 0.8295 MB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.3486, allocations: 99.84 kB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.3486, allocations: 0 / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-05/0.3487, allocations: 55.86 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3491, allocations: 51.7 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.3514, allocations: 1.927 MB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.3517, allocations: 0.7283 MB / 1.065 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.677e-05/0.3518, allocations: 29.52 kB / 1.065 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/0.3519, allocations: 54.92 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3519, allocations: 0 / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.3693, allocations: 5.189 MB / 1.071 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/0.3696, allocations: 290.5 kB / 1.071 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.22, allocations: 4 kB / 1.071 GB, free: 5.059 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches