Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.001235/0.001235, 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.001346/0.001346, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.629/2.629, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 71.89 kB / 0.8688 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6967/0.698, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002868/0.7009, allocations: 1.776 MB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.702, allocations: 0.6046 MB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.7021, allocations: 7.938 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.7022, allocations: 19.86 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.7025, allocations: 95.66 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.7029, allocations: 127.7 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.7031, allocations: 223.5 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.7032, allocations: 25.53 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.7034, allocations: 107.6 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01988/0.7233, allocations: 1.565 MB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.7233, allocations: 16 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.7234, allocations: 28 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.7235, allocations: 39.83 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.7236, allocations: 79.58 kB / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.7239, allocations: 203.3 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.7239, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7239, allocations: 4 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.7239, allocations: 0 / 1.022 GB, free: 14.15 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006107/0.7246, allocations: 0.5177 MB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.7246, allocations: 8.031 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.7246, allocations: 42.73 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.7247, allocations: 16.75 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.7249, allocations: 244.3 kB / 1.023 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.725, allocations: 8 kB / 1.023 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.725, allocations: 8 kB / 1.023 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.7251, allocations: 85.66 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-06/0.7252, allocations: 0 / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.7252, allocations: 4 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.7252, allocations: 4 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.699e-05/0.7253, allocations: 51.84 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.7259, allocations: 440.4 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.726, allocations: 66.55 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.7261, allocations: 28.98 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.7261, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.7262, allocations: 95.31 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.7262, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0002488/0.7265, allocations: 133.4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7265, allocations: 55.34 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.7267, allocations: 191.2 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.7267, allocations: 33.7 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.7268, allocations: 127.8 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.7268, allocations: 23.66 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.7269, allocations: 53.67 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.727, allocations: 330.8 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.7271, allocations: 31.98 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.7273, allocations: 107.7 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.7274, allocations: 88.22 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7274, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000195/0.7276, allocations: 133.4 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7276, allocations: 11.94 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7276, allocations: 0 / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.7276, allocations: 8.125 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.7277, allocations: 11.94 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7277, allocations: 4 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.7279, allocations: 19.89 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.7279, allocations: 4 kB / 1.025 GB, free: 10.92 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: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.000108/0.728, allocations: 141.8 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.7281, allocations: 19.75 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.7281, allocations: 13.41 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7281, allocations: 4 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.7281, allocations: 0 / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.7281, allocations: 3.984 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.7286, allocations: 434.2 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7286, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.7286, allocations: 7.938 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.7286, allocations: 3.984 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.7286, allocations: 4 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7286, allocations: 4 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7286, allocations: 3.938 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.7288, allocations: 203.3 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.7289, allocations: 88.92 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.7289, allocations: 0 / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.729, allocations: 11.98 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.7291, allocations: 11.98 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.7291, allocations: 11.98 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001014/0.7292, allocations: 140 kB / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7292, allocations: 0 / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002817/0.7295, allocations: 39.98 kB / 1.026 GB, free: 9.703 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006262/0.7301, allocations: 0.8129 MB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.7303, allocations: 91.84 kB / 1.027 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7303, allocations: 0 / 1.027 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.55e-05/0.7304, allocations: 35.98 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.7308, allocations: 49.23 kB / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.7325, allocations: 1.81 MB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.7328, allocations: 0.7124 MB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.69e-05/0.7328, allocations: 17.55 kB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.7329, allocations: 51.41 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7329, allocations: 0 / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.131/1.864, allocations: 4.794 MB / 1.034 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/1.864, allocations: 268.7 kB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/4.039, allocations: 7.75 kB / 1.034 GB, free: 1.02 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches