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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008931/0.0008931, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005653/0.005653, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003368, allocations: 12 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6455/0.6459, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002068/0.648, allocations: 1.535 MB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.6495, allocations: 0.9321 MB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.6497, allocations: 4 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.6499, allocations: 19.86 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.6502, allocations: 91.59 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.6505, allocations: 139.8 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.6508, allocations: 235.3 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.6509, allocations: 29.58 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.6511, allocations: 99.67 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04807/0.6992, allocations: 3.311 MB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.6993, allocations: 8 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.6994, allocations: 28 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.6996, allocations: 39.83 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.6997, allocations: 109.3 kB / 1.03 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.7, allocations: 199.3 kB / 1.03 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7, allocations: 0 / 1.03 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7, allocations: 0 / 1.03 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.7, allocations: 0 / 1.03 GB, free: 9.883 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.0006944/0.7007, allocations: 0.5216 MB / 1.03 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.7008, allocations: 8.031 kB / 1.03 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.7008, allocations: 42.75 kB / 1.03 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.7009, allocations: 20.75 kB / 1.03 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.7012, allocations: 251.2 kB / 1.031 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.7012, allocations: 4 kB / 1.031 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.7012, allocations: 16 kB / 1.031 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.7014, allocations: 93.64 kB / 1.031 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7014, allocations: 4 kB / 1.031 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.7014, allocations: 0 / 1.031 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.7014, allocations: 0 / 1.031 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.7015, allocations: 53.86 kB / 1.031 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.7022, allocations: 480.3 kB / 1.031 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.7027, allocations: 154.7 kB / 1.031 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.7027, allocations: 40.84 kB / 1.031 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.7028, allocations: 11.92 kB / 1.031 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.7029, allocations: 103.3 kB / 1.031 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.703, allocations: 3.938 kB / 1.031 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003059/0.7033, allocations: 176.8 kB / 1.032 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.7033, allocations: 55.41 kB / 1.032 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.7035, allocations: 194.6 kB / 1.032 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.7035, allocations: 33.7 kB / 1.032 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.7036, allocations: 120.5 kB / 1.032 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.7036, allocations: 39.53 kB / 1.032 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.7037, allocations: 29.7 kB / 1.032 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.3e-05/0.7038, allocations: 330.8 kB / 1.032 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.7039, allocations: 31.98 kB / 1.032 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.7041, allocations: 136.3 kB / 1.033 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.7042, allocations: 96.22 kB / 1.033 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7042, allocations: 0 / 1.033 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002255/0.7044, allocations: 160.4 kB / 1.033 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.7045, allocations: 8 kB / 1.033 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7045, allocations: 0 / 1.033 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7045, allocations: 4 kB / 1.033 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.7046, allocations: 15.92 kB / 1.033 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.7046, allocations: 4 kB / 1.033 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.7048, allocations: 31.83 kB / 1.033 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.7048, allocations: 12.12 kB / 1.033 GB, free: 6.363 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.0001165/0.7049, allocations: 148 kB / 1.033 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.705, allocations: 15.81 kB / 1.033 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.705, allocations: 17.88 kB / 1.033 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.705, allocations: 3.984 kB / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.705, allocations: 0 / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.705, allocations: 0 / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.7057, allocations: 0.4982 MB / 1.034 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7057, allocations: 0 / 1.034 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.7057, allocations: 7.984 kB / 1.034 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7057, allocations: 0 / 1.034 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.7057, allocations: 4 kB / 1.034 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.7057, allocations: 7.938 kB / 1.034 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7057, allocations: 3.938 kB / 1.034 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.706, allocations: 235.2 kB / 1.034 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.706, allocations: 92.86 kB / 1.034 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.706, allocations: 4 kB / 1.034 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.7062, allocations: 27.91 kB / 1.034 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.7062, allocations: 19.97 kB / 1.034 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.7063, allocations: 11.94 kB / 1.034 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001085/0.7064, allocations: 139.2 kB / 1.034 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7064, allocations: 0 / 1.034 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002927/0.7067, allocations: 43.91 kB / 1.034 GB, free: 5.004 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.0006389/0.7073, allocations: 0.8325 MB / 1.035 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.7076, allocations: 103.9 kB / 1.035 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7076, allocations: 0 / 1.035 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.7077, allocations: 55.86 kB / 1.035 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.7081, allocations: 52.2 kB / 1.035 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.71, allocations: 1.94 MB / 1.037 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.7102, allocations: 0.7245 MB / 1.038 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.285e-05/0.7103, allocations: 21.53 kB / 1.038 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.7104, allocations: 51.42 kB / 1.038 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.7104, allocations: 0 / 1.038 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.868/2.578, allocations: 5.088 MB / 1.043 GB, free: 12.21 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/2.579, allocations: 277 kB / 1.043 GB, free: 11.85 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/4.815, allocations: 0 / 1.043 GB, free: 11.85 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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