Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_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.00586/0.00586, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001288/0.001288, allocations: 201.2 kB / 16.68 MB, free: 5.93 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 68.08 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9509/0.9523, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002818/0.9552, allocations: 1.726 MB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.9567, allocations: 0.9046 MB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.9568, allocations: 0 / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.9569, allocations: 35.66 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.9573, allocations: 127.4 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.9577, allocations: 157.5 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.958, allocations: 239.4 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.9581, allocations: 29.67 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.9582, allocations: 111.7 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009955/0.9682, allocations: 1.696 MB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.835e-05/0.9683, allocations: 20 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.9684, allocations: 36 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.9685, allocations: 47.81 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.9686, allocations: 87.58 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.969, allocations: 224 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.969, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.654e-06/0.969, allocations: 4 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.969, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 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.0008098/0.9698, allocations: 0.5507 MB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.9699, allocations: 8.922 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.9699, allocations: 42.73 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.97, allocations: 28.83 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.9703, allocations: 255.9 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.9703, allocations: 8 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.9704, allocations: 16 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.9706, allocations: 89.66 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.9706, allocations: 0 / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.9706, allocations: 7.922 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.9706, allocations: 4 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.9707, allocations: 51.92 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007578/0.9715, allocations: 464.5 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.9719, allocations: 138.6 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.573e-05/0.972, allocations: 36.84 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.972, allocations: 4 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.9723, allocations: 115.3 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.9723, allocations: 0 / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0003392/0.9726, allocations: 165.5 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.9727, allocations: 59.34 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.9729, allocations: 204.1 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.9729, allocations: 29.7 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.973, allocations: 120.5 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.9731, allocations: 39.72 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.9732, allocations: 53.69 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.9733, allocations: 330.8 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.9734, allocations: 35.98 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.9736, allocations: 132.7 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.9737, allocations: 98.58 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9737, allocations: 0 / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002388/0.974, allocations: 157.4 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.974, allocations: 5.875 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.974, allocations: 7.984 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.974, allocations: 0 / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.9741, allocations: 19.94 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.9741, allocations: 4 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.9743, allocations: 35.98 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.9743, allocations: 4 kB / 1.175 GB, free: 11.25 MB / 0.9044 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.0001182/0.9745, allocations: 139.5 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.9745, allocations: 15.91 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.9746, allocations: 21.86 kB / 1.175 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.9746, allocations: 4 kB / 1.175 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.9746, allocations: 3.938 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9746, allocations: 4.031 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.9752, allocations: 0.4904 MB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9752, allocations: 0 / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.9753, allocations: 0 / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.9753, allocations: 7.938 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.9753, allocations: 15.88 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.9753, allocations: 0 / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.9753, allocations: 0 / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.9755, allocations: 238.2 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.9756, allocations: 89.02 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.9756, allocations: 15.92 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.9758, allocations: 7.984 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.9759, allocations: 19.98 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.9759, allocations: 11.98 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001276/0.976, allocations: 136.5 kB / 1.176 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.976, allocations: 4 kB / 1.176 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002984/0.9763, allocations: 51.89 kB / 1.176 GB, free: 9.887 MB / 0.9044 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.0007192/0.9771, allocations: 0.8252 MB / 1.177 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.9773, allocations: 103.8 kB / 1.177 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9773, allocations: 0 / 1.177 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.974e-05/0.9774, allocations: 56.17 kB / 1.177 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.9778, allocations: 60.38 kB / 1.177 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.9798, allocations: 1.916 MB / 1.179 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.9801, allocations: 0.7281 MB / 1.179 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.222e-05/0.9802, allocations: 25.53 kB / 1.179 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/0.9803, allocations: 55.41 kB / 1.18 GB, free: 6 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.9803, allocations: 0 / 1.18 GB, free: 6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/1.006, allocations: 5.596 MB / 1.185 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.981, allocations: 3.859 kB / 1.185 GB, free: 0.543 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches