Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.001091/0.001091, 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.00109/0.00109, allocations: 195.7 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.588/2.588, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.5759, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003162/0.5791, allocations: 1.729 MB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.5806, allocations: 0.9007 MB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.5807, allocations: 4 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.5809, allocations: 31.73 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.5813, allocations: 115.4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.5817, allocations: 155.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.582, allocations: 235.4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.5822, allocations: 45.55 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.5823, allocations: 115.6 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01176/0.5941, allocations: 2.007 MB / 1.023 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.846e-05/0.5942, allocations: 20 kB / 1.023 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.5943, allocations: 32 kB / 1.023 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.5944, allocations: 43.77 kB / 1.023 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.5946, allocations: 91.55 kB / 1.023 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.5949, allocations: 219.3 kB / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5949, allocations: 0 / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5949, allocations: 0 / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.595, allocations: 4 kB / 1.023 GB, free: 13.3 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008074/0.5958, allocations: 0.5487 MB / 1.024 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.5958, allocations: 12.03 kB / 1.024 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.5959, allocations: 46.73 kB / 1.024 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.193e-05/0.596, allocations: 16.75 kB / 1.024 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.5963, allocations: 247.3 kB / 1.024 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.5963, allocations: 12 kB / 1.024 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.5963, allocations: 12 kB / 1.024 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.5965, allocations: 95.48 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.5966, allocations: 0 / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.5966, allocations: 0 / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.5966, allocations: 4 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.5967, allocations: 51.97 kB / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.5975, allocations: 464.3 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.598, allocations: 138.7 kB / 1.025 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.5981, allocations: 36.84 kB / 1.025 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.5981, allocations: 4 kB / 1.025 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.5984, allocations: 119.1 kB / 1.025 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.5984, allocations: 0 / 1.025 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003392/0.5987, allocations: 169.4 kB / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.5988, allocations: 55.41 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.599, allocations: 198.5 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.599, allocations: 33.7 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.5991, allocations: 120.4 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.5991, allocations: 31.62 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.5992, allocations: 57.66 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.5993, allocations: 338.8 kB / 1.026 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.927e-05/0.5994, allocations: 35.98 kB / 1.026 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.5997, allocations: 125.3 kB / 1.026 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.5998, allocations: 103.3 kB / 1.026 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5998, allocations: 4 kB / 1.026 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002374/0.6, allocations: 153.3 kB / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6001, allocations: 11.98 kB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6001, allocations: 0 / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.6001, allocations: 4 kB / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.6002, allocations: 15.94 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6002, allocations: 4.125 kB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.6004, allocations: 31.83 kB / 1.026 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.6004, allocations: 7.984 kB / 1.026 GB, free: 9.754 MB / 0.7794 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.0001162/0.6005, allocations: 139.5 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.6006, allocations: 19.8 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.6006, allocations: 25.84 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6006, allocations: 0 / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6006, allocations: 0 / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.6006, allocations: 4 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/0.6013, allocations: 493.8 kB / 1.027 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.6013, allocations: 3.938 kB / 1.027 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.6013, allocations: 11.98 kB / 1.027 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.6013, allocations: 0 / 1.027 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.6014, allocations: 11.88 kB / 1.027 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.6014, allocations: 4 kB / 1.027 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.6014, allocations: 0 / 1.027 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.6016, allocations: 227.2 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.6017, allocations: 96.86 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.6017, allocations: 3.938 kB / 1.027 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.6019, allocations: 15.97 kB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/0.6019, allocations: 23.92 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.602, allocations: 15.98 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001244/0.6021, allocations: 135.2 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6021, allocations: 0 / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003148/0.6024, allocations: 44 kB / 1.027 GB, free: 8.414 MB / 0.7794 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.0007897/0.6032, allocations: 0.8275 MB / 1.028 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.6035, allocations: 115.8 kB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6035, allocations: 0 / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/0.6036, allocations: 55.91 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.6041, allocations: 70.61 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.606, allocations: 1.872 MB / 1.03 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.6062, allocations: 0.7203 MB / 1.031 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.534e-05/0.6063, allocations: 29.52 kB / 1.031 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.504e-05/0.6064, allocations: 59.34 kB / 1.031 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.6064, allocations: 0 / 1.031 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.6288, allocations: 5.536 MB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.92, allocations: 17.78 kB / 1.036 GB, free: 15.16 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_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_PlotterActivationGlobalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches