Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_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.007636/0.007636, allocations: 99.58 kB / 15.73 MB, free: 6.047 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.002054/0.002054, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.812/2.812, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.88 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.6842, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003047/0.6873, allocations: 1.745 MB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.6888, allocations: 0.9055 MB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.6889, allocations: 0 / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.6891, allocations: 23.73 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.6895, allocations: 123.4 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.6898, allocations: 153.6 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.6901, allocations: 243.4 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.6903, allocations: 33.67 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.6904, allocations: 111.7 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01668/0.7071, allocations: 2.027 MB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.7072, allocations: 20 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.7073, allocations: 36 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.688e-05/0.7074, allocations: 47.81 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.7075, allocations: 87.58 kB / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.7079, allocations: 221.8 kB / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7079, allocations: 3.938 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7079, allocations: 0 / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.7079, allocations: 0 / 1.226 GB, free: 12.8 MB / 0.9512 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.000865/0.7088, allocations: 0.5526 MB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.7088, allocations: 12.03 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.7089, allocations: 38.73 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.7089, allocations: 20.84 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.7092, allocations: 252.5 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.7093, allocations: 8 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.7093, allocations: 16 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.7095, allocations: 91.72 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.7095, allocations: 0 / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.7095, allocations: 4 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.7096, allocations: 7.938 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.7097, allocations: 59.86 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000798/0.7105, allocations: 456.5 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.711, allocations: 138.6 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.978e-05/0.711, allocations: 36.84 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.7111, allocations: 4 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.7113, allocations: 114.2 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.7113, allocations: 3.938 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0003556/0.7117, allocations: 165.5 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.7117, allocations: 55.34 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.712, allocations: 204.3 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.712, allocations: 29.7 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.7121, allocations: 124.5 kB / 1.228 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.7122, allocations: 35.69 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.7123, allocations: 61.67 kB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7124, allocations: 330.8 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.367e-05/0.7125, allocations: 31.98 kB / 1.229 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.7128, allocations: 133.2 kB / 1.229 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.7129, allocations: 100.1 kB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.713, allocations: 0 / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002695/0.7132, allocations: 152 kB / 1.229 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.7132, allocations: 7.938 kB / 1.229 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7133, allocations: 7.984 kB / 1.229 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.7133, allocations: 0 / 1.229 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.7133, allocations: 12 kB / 1.229 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.7134, allocations: 4 kB / 1.229 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.7136, allocations: 31.88 kB / 1.229 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.7136, allocations: 8.047 kB / 1.229 GB, free: 9.262 MB / 0.9512 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.0001518/0.7138, allocations: 148.1 kB / 1.229 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.7138, allocations: 15.91 kB / 1.229 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.7139, allocations: 25.86 kB / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.7139, allocations: 4 kB / 1.229 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7139, allocations: 0 / 1.229 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.7139, allocations: 0 / 1.229 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007287/0.7146, allocations: 498.1 kB / 1.23 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.7147, allocations: 4 kB / 1.23 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.7147, allocations: 7.922 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7147, allocations: 4 kB / 1.23 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.7147, allocations: 7.938 kB / 1.23 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7147, allocations: 3.938 kB / 1.23 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7147, allocations: 0 / 1.23 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.715, allocations: 230.3 kB / 1.23 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.7151, allocations: 89.02 kB / 1.23 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.7151, allocations: 11.94 kB / 1.23 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.7153, allocations: 15.97 kB / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.7153, allocations: 19.98 kB / 1.23 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.7154, allocations: 7.984 kB / 1.23 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001466/0.7155, allocations: 148.2 kB / 1.23 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7155, allocations: 0 / 1.23 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003096/0.7158, allocations: 43.89 kB / 1.23 GB, free: 7.902 MB / 0.9512 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.0008401/0.7167, allocations: 0.8422 MB / 1.231 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.7169, allocations: 107.7 kB / 1.231 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7169, allocations: 0 / 1.231 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.716e-05/0.717, allocations: 47.98 kB / 1.231 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.7175, allocations: 61.7 kB / 1.231 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.7197, allocations: 1.887 MB / 1.233 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.7201, allocations: 0.732 MB / 1.234 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.329e-05/0.7202, allocations: 17.55 kB / 1.234 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.7203, allocations: 55.41 kB / 1.234 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.7203, allocations: 0 / 1.234 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.7506, allocations: 5.599 MB / 1.239 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.711, allocations: 13.58 kB / 1.239 GB, free: 14.61 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches