Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.001293/0.001293, allocations: 108 kB / 15.61 MB, free: 152 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.001342/0.001342, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.754/2.754, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 70.47 kB / 0.9086 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3601, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003288/0.3634, allocations: 1.744 MB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.365, allocations: 0.9046 MB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.365, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.3652, allocations: 27.73 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.3656, allocations: 115.4 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.3659, allocations: 152.8 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.3662, allocations: 239.5 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3663, allocations: 37.61 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3664, allocations: 111.7 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01247/0.3789, allocations: 1.655 MB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.098e-05/0.379, allocations: 16 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.3792, allocations: 47.91 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.3793, allocations: 35.91 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.3794, allocations: 95.5 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.3798, allocations: 207.3 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3798, allocations: 4 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3798, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3798, allocations: 4 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008906/0.3807, allocations: 0.5527 MB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3808, allocations: 12.03 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.3808, allocations: 34.75 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.3809, allocations: 24.66 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.3812, allocations: 239.4 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.3812, allocations: 19.94 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.3813, allocations: 15.98 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.3815, allocations: 117.5 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3815, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3815, allocations: 7.984 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3815, allocations: 0 / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.3817, allocations: 55.88 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008792/0.3826, allocations: 0.5396 MB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.3827, allocations: 105.1 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.572e-05/0.3828, allocations: 37.77 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.3828, allocations: 3.938 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.3831, allocations: 125.3 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.3831, allocations: 4 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003516/0.3835, allocations: 159.7 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.3836, allocations: 85.09 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.3838, allocations: 196.3 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.3838, allocations: 33.7 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3839, allocations: 128.4 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.384, allocations: 35.5 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.3841, allocations: 57.8 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3842, allocations: 330.8 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.3843, allocations: 31.98 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.3846, allocations: 137.3 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3847, allocations: 113.9 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3847, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002618/0.385, allocations: 161.9 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.385, allocations: 4 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.385, allocations: 4 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.385, allocations: 4 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.3851, allocations: 23.88 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.3851, allocations: 3.984 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.3854, allocations: 23.83 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3854, allocations: 12 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001416/0.3855, allocations: 139.6 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.3856, allocations: 23.8 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.3856, allocations: 21.53 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3856, allocations: 4.094 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3856, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3857, allocations: 3.984 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.3863, allocations: 471.4 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3863, allocations: 0 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.3863, allocations: 4 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3863, allocations: 0 / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.3863, allocations: 11.92 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3863, allocations: 3.938 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3863, allocations: 0 / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3866, allocations: 222.6 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.3867, allocations: 100.8 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.3867, allocations: 11.94 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3868, allocations: 7.984 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.3869, allocations: 23.97 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.3869, allocations: 4 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001331/0.3871, allocations: 148.2 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3871, allocations: 0 / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003006/0.3874, allocations: 47.91 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0008239/0.3882, allocations: 0.8382 MB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.3885, allocations: 111.8 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3885, allocations: 0 / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/0.3886, allocations: 56.23 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.389, allocations: 56.81 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.3912, allocations: 1.931 MB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.3915, allocations: 0.7203 MB / 1.077 GB, free: 348 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.348e-05/0.3916, allocations: 29.47 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.537e-05/0.3917, allocations: 59.41 kB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3917, allocations: 0 / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.481/1.872, allocations: 5.474 MB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/13.37, allocations: 16.36 kB / 1.083 GB, free: 10.92 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches