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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002203/0.002203, allocations: 196.4 kB / 16.14 MB, free: 6.719 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.812/2.812, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.89 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.637/0.639, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003048/0.6421, allocations: 1.788 MB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.6432, allocations: 0.6124 MB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.6433, allocations: 11.88 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.6435, allocations: 19.86 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.6437, allocations: 87.66 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.6441, allocations: 139.6 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.6443, allocations: 207.5 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.6444, allocations: 25.55 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.6446, allocations: 91.66 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02781/0.6724, allocations: 1.432 MB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.844e-05/0.6725, allocations: 8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.6727, allocations: 24 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.612e-05/0.6728, allocations: 39.83 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.6729, allocations: 71.58 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.6733, allocations: 191.3 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.6733, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6733, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.6733, allocations: 0 / 1.021 GB, free: 14.35 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.0008927/0.6742, allocations: 0.5177 MB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.6742, allocations: 8.031 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.675e-05/0.6743, allocations: 24.69 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.6747, allocations: 236.5 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.6747, allocations: 11.94 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.6748, allocations: 20 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.675, allocations: 77.66 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.675, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.675, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.675, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.6751, allocations: 51.91 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009539/0.6761, allocations: 440.4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.6763, allocations: 66.56 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.341e-05/0.6764, allocations: 32.78 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.6764, allocations: 4 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.6766, allocations: 91.5 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.6766, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0003287/0.6769, allocations: 129.4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.677, allocations: 55.34 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.6772, allocations: 195.1 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.6773, allocations: 33.7 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.6774, allocations: 116 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.6774, allocations: 27.66 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.6776, allocations: 57.67 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.6778, allocations: 322.8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/0.6779, allocations: 31.92 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.6782, allocations: 115.7 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.6783, allocations: 86.48 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6783, allocations: 4 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002735/0.6786, allocations: 133.4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.6786, allocations: 6.312 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6787, allocations: 7.938 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.6787, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.6788, allocations: 11.98 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.6788, allocations: 7.938 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.679, allocations: 15.89 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.679, allocations: 8 kB / 1.024 GB, free: 11.17 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.0001446/0.6792, allocations: 133.8 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.6792, allocations: 15.81 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.6793, allocations: 29.33 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6793, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.6793, allocations: 3.938 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.6793, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/0.6799, allocations: 434.2 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.6799, allocations: 4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.6799, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.6799, allocations: 11.94 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.6799, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.68, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.68, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.6803, allocations: 211.7 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.6805, allocations: 89 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.6805, allocations: 8 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.6806, allocations: 7.984 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.6807, allocations: 19.98 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.6807, allocations: 4 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001442/0.6809, allocations: 137.2 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6809, allocations: 0 / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003455/0.6812, allocations: 39.91 kB / 1.025 GB, free: 9.949 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.0004245/0.6817, allocations: 176 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.6819, allocations: 83.84 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6819, allocations: 4.188 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.682, allocations: 43.92 kB / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.6824, allocations: 41.66 kB / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000706/0.6831, allocations: 304.8 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.6836, allocations: 0.7127 MB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.652e-05/0.6837, allocations: 21.55 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.6837, allocations: 19.42 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.6837, allocations: 4 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.008136/0.6919, allocations: 3.099 MB / 1.03 GB, free: 5.449 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (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 & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches