Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_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.001175/0.001175, allocations: 108 kB / 15.6 MB, free: 132 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.001476/0.001476, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.531/2.531, allocations: 437.1 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5596/0.5609, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.00324/0.5642, allocations: 1.735 MB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.5657, allocations: 0.9007 MB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.5658, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.5661, allocations: 35.7 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003525/0.5664, allocations: 111.5 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.5668, allocations: 155.6 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.567, allocations: 251.2 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.5672, allocations: 37.67 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.5673, allocations: 115.6 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009493/0.5768, allocations: 1.649 MB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.5769, allocations: 16 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.577, allocations: 35.98 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.56e-05/0.5771, allocations: 39.84 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.5772, allocations: 103.5 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.5775, allocations: 219.3 kB / 1.023 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5776, allocations: 0 / 1.023 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5776, allocations: 0 / 1.023 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5776, allocations: 0 / 1.023 GB, free: 13.52 MB / 0.7794 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.000772/0.5783, allocations: 0.5372 MB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.5784, allocations: 16.03 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.5784, allocations: 38.73 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/0.5785, allocations: 24.69 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.5788, allocations: 243.3 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5788, allocations: 12 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.5788, allocations: 12 kB / 1.024 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.579, allocations: 113.2 kB / 1.024 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5791, allocations: 0 / 1.024 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.5791, allocations: 11.94 kB / 1.024 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5791, allocations: 4 kB / 1.024 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.5792, allocations: 51.97 kB / 1.024 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/0.58, allocations: 0.5473 MB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.5802, allocations: 97.25 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.5802, allocations: 41.77 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.5803, allocations: 3.938 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.5805, allocations: 128.3 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.654e-06/0.5805, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003175/0.5808, allocations: 153.6 kB / 1.025 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.5809, allocations: 89.03 kB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.5811, allocations: 206.4 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.5811, allocations: 33.83 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.5812, allocations: 128.4 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.5812, allocations: 27.64 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.918e-05/0.5813, allocations: 61.67 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.5814, allocations: 326.8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/0.5815, allocations: 27.98 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.5817, allocations: 145.9 kB / 1.026 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.5819, allocations: 117.8 kB / 1.026 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5819, allocations: 0 / 1.026 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002396/0.5821, allocations: 165.2 kB / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.5822, allocations: 4 kB / 1.026 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5822, allocations: 4 kB / 1.026 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5822, allocations: 4 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.28e-05/0.5823, allocations: 15.94 kB / 1.026 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5823, allocations: 0 / 1.026 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.5825, allocations: 35.97 kB / 1.026 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.5825, allocations: 8 kB / 1.026 GB, free: 9.801 MB / 0.7794 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.0001177/0.5827, allocations: 151.5 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.5827, allocations: 15.81 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.5827, allocations: 21.52 kB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5827, allocations: 4 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5828, allocations: 0 / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.5828, allocations: 0 / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.5833, allocations: 470.2 kB / 1.027 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5833, allocations: 0 / 1.027 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.5833, allocations: 8 kB / 1.027 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.5834, allocations: 0 / 1.027 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.5834, allocations: 7.938 kB / 1.027 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5834, allocations: 3.984 kB / 1.027 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5834, allocations: 0 / 1.027 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.5836, allocations: 232.1 kB / 1.027 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.5837, allocations: 92.91 kB / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.5837, allocations: 11.94 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.5838, allocations: 7.984 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.5839, allocations: 23.97 kB / 1.027 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.5839, allocations: 4 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001178/0.584, allocations: 147.2 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5841, allocations: 0 / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003086/0.5844, allocations: 43.94 kB / 1.027 GB, free: 8.484 MB / 0.7794 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.0006527/0.585, allocations: 0.8327 MB / 1.028 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.5853, allocations: 107.8 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5853, allocations: 0 / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.5854, allocations: 61.41 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.5858, allocations: 57.86 kB / 1.028 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.5877, allocations: 1.941 MB / 1.03 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.588, allocations: 0.7164 MB / 1.031 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.074e-05/0.5881, allocations: 29.53 kB / 1.031 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.5882, allocations: 55.41 kB / 1.031 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5882, allocations: 0 / 1.031 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.6118, allocations: 5.476 MB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/7.967, allocations: 11.5 kB / 1.036 GB, free: 15.21 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_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_PlotterActivationLocalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches