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.001414/0.001414, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001557/0.001557, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.56/2.56, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.8688 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7383/0.7396, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.004066/0.7437, allocations: 1.897 MB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.7456, allocations: 0.9242 MB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.7458, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.7461, allocations: 23.78 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004879/0.7466, allocations: 103.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.747, allocations: 143.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000329/0.7474, allocations: 239.3 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.7475, allocations: 41.67 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.7477, allocations: 111.7 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0213/0.769, allocations: 1.657 MB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-05/0.7691, allocations: 20 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.7693, allocations: 39.98 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.704e-05/0.7694, allocations: 35.84 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.7695, allocations: 99.48 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.7699, allocations: 211.3 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.7699, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/0.77, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.77, allocations: 4 kB / 1.022 GB, free: 13.56 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.0009558/0.7709, allocations: 0.5488 MB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.771, allocations: 8.031 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.7711, allocations: 46.73 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.7712, allocations: 20.75 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.7715, allocations: 247.2 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.7715, allocations: 8 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.7716, allocations: 19.94 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.7718, allocations: 109.2 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7718, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.7718, allocations: 4 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.7719, allocations: 7.984 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.772, allocations: 59.91 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009167/0.7729, allocations: 0.5434 MB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.7731, allocations: 93.14 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/0.7732, allocations: 41.95 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.7732, allocations: 7.875 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.7734, allocations: 120.7 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.7734, allocations: 4 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003661/0.7738, allocations: 161.6 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.7739, allocations: 81.11 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.7741, allocations: 202.4 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.7741, allocations: 33.7 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.7742, allocations: 132.5 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.7743, allocations: 31.64 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.7744, allocations: 65.67 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.7745, allocations: 326.8 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.7746, allocations: 27.98 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.7748, allocations: 149.2 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.775, allocations: 113.8 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.775, allocations: 8 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002572/0.7752, allocations: 157.2 kB / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7753, allocations: 4 kB / 1.026 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7753, allocations: 4 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.7753, allocations: 0 / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.7754, allocations: 19.98 kB / 1.026 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.7754, allocations: 7.938 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.7756, allocations: 31.98 kB / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.7757, allocations: 8 kB / 1.026 GB, free: 9.82 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.0001322/0.7758, allocations: 140 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.7758, allocations: 15.81 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.7759, allocations: 21.52 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.7759, allocations: 7.938 kB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7759, allocations: 0 / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.7759, allocations: 0 / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.7765, allocations: 470.2 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7765, allocations: 0 / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.7765, allocations: 7.938 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7765, allocations: 96 / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.7766, allocations: 7.938 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7766, allocations: 4 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7766, allocations: 3.984 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.7768, allocations: 236.1 kB / 1.027 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.7769, allocations: 88.92 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.7769, allocations: 7.938 kB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.777, allocations: 15.97 kB / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.7771, allocations: 15.98 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.7772, allocations: 11.98 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001182/0.7773, allocations: 143.2 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7773, allocations: 0 / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003224/0.7776, allocations: 43.94 kB / 1.027 GB, free: 8.508 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.0007392/0.7784, allocations: 0.8479 MB / 1.028 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.7786, allocations: 111.8 kB / 1.028 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7786, allocations: 0 / 1.028 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.181e-05/0.7787, allocations: 47.92 kB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.7792, allocations: 67.19 kB / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.7813, allocations: 1.962 MB / 1.03 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.7816, allocations: 0.7203 MB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.306e-05/0.7817, allocations: 25.55 kB / 1.031 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/0.7818, allocations: 55.41 kB / 1.031 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7818, allocations: 0 / 1.031 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.799, allocations: 5.28 MB / 1.036 GB, free: 15.45 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.7993, allocations: 274 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/2.912, allocations: 3.938 kB / 1.036 GB, free: 15.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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