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.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.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.0008925/0.0008926, 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.005714/0.005714, allocations: 170 kB / 16.27 MB, free: 6.66 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.367 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.476/2.476, allocations: 437.8 MB / 0.7121 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 8 kB / 0.8729 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6814/0.6818, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.001759/0.6836, allocations: 1.437 MB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.6847, allocations: 0.6047 MB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.6848, allocations: 0 / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.6849, allocations: 19.84 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.6852, allocations: 87.67 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.6855, allocations: 143.5 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.6857, allocations: 195.5 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.6858, allocations: 33.52 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.686, allocations: 95.62 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04635/0.7323, allocations: 3.192 MB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/0.7324, allocations: 8 kB / 1.029 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.821e-05/0.7325, allocations: 24 kB / 1.029 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.7326, allocations: 31.84 kB / 1.029 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.7327, allocations: 101.3 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.7329, allocations: 191.4 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.7329, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7329, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7329, allocations: 0 / 1.029 GB, free: 10.48 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.0005616/0.7335, allocations: 0.4905 MB / 1.03 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.7335, allocations: 8.031 kB / 1.03 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.7336, allocations: 46.67 kB / 1.03 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.7336, allocations: 16.75 kB / 1.03 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.7339, allocations: 232.3 kB / 1.03 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.7339, allocations: 12 kB / 1.03 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.7339, allocations: 12 kB / 1.03 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.7341, allocations: 85.17 kB / 1.03 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-06/0.7341, allocations: 0 / 1.03 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.7341, allocations: 0 / 1.03 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7341, allocations: 4 kB / 1.03 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.662e-05/0.7342, allocations: 47.91 kB / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006651/0.7349, allocations: 456.3 kB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.735, allocations: 70.5 kB / 1.031 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.7351, allocations: 36.77 kB / 1.031 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.7351, allocations: 4 kB / 1.031 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.7352, allocations: 83.38 kB / 1.031 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.7352, allocations: 0 / 1.031 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0002439/0.7355, allocations: 141.5 kB / 1.031 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.7355, allocations: 55.41 kB / 1.031 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.7357, allocations: 183.1 kB / 1.031 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.7357, allocations: 33.7 kB / 1.031 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.7358, allocations: 116.1 kB / 1.031 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.7358, allocations: 27.69 kB / 1.031 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.7359, allocations: 29.7 kB / 1.031 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.736, allocations: 330.8 kB / 1.032 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.736, allocations: 31.89 kB / 1.032 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.7362, allocations: 107.7 kB / 1.032 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.7364, allocations: 88.22 kB / 1.032 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7364, allocations: 3.938 kB / 1.032 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002236/0.7366, allocations: 129.4 kB / 1.032 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7366, allocations: 11.88 kB / 1.032 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.7366, allocations: 4 kB / 1.032 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.7366, allocations: 128 / 1.032 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.7367, allocations: 19.94 kB / 1.032 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.7367, allocations: 3.984 kB / 1.032 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.7369, allocations: 19.94 kB / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.7369, allocations: 4 kB / 1.032 GB, free: 7.297 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.0001044/0.737, allocations: 133.8 kB / 1.032 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.7371, allocations: 19.75 kB / 1.032 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.7371, allocations: 17.41 kB / 1.032 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.7371, allocations: 4 kB / 1.032 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.7371, allocations: 0 / 1.032 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.7371, allocations: 7.984 kB / 1.032 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.7376, allocations: 434.6 kB / 1.033 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.7376, allocations: 0 / 1.033 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.7377, allocations: 19.92 kB / 1.033 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7377, allocations: 0 / 1.033 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.7377, allocations: 0 / 1.033 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.7377, allocations: 8 kB / 1.033 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7377, allocations: 0 / 1.033 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.7379, allocations: 203.2 kB / 1.033 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.7379, allocations: 96.91 kB / 1.033 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.7379, allocations: 0 / 1.033 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.738, allocations: 19.94 kB / 1.033 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.7381, allocations: 11.97 kB / 1.033 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.7381, allocations: 4 kB / 1.033 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001023/0.7382, allocations: 137.2 kB / 1.033 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7382, allocations: 0 / 1.033 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000285/0.7385, allocations: 44 kB / 1.033 GB, free: 6.066 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.0005815/0.7391, allocations: 0.8081 MB / 1.034 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.7393, allocations: 79.84 kB / 1.034 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7393, allocations: 4 kB / 1.034 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/0.7394, allocations: 31.98 kB / 1.034 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.7397, allocations: 41.72 kB / 1.034 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.7414, allocations: 1.826 MB / 1.036 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.7416, allocations: 0.7202 MB / 1.036 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.671e-05/0.7417, allocations: 17.55 kB / 1.036 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.7418, allocations: 47.41 kB / 1.037 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7418, allocations: 0 / 1.037 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.876/2.618, allocations: 4.562 MB / 1.041 GB, free: 13.98 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004137/2.618, allocations: 267.7 kB / 1.041 GB, free: 13.62 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/4.844, allocations: 0 / 1.041 GB, free: 13.62 MB / 0.795 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