Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9304/0.9304, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.798/1.798, allocations: 377.9 MB / 0.6229 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.9822 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.87e-05, allocations: 13.03 kB / 0.9822 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002999/0.003027, allocations: 1.724 MB / 0.9839 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.004802, allocations: 0.9082 MB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.282e-05/0.004884, allocations: 0 / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.005085, allocations: 27.73 kB / 0.9848 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.005477, allocations: 123.3 kB / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.005817, allocations: 162.2 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.006105, allocations: 247.3 kB / 0.9853 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.006238, allocations: 21.8 kB / 0.9853 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.006425, allocations: 151.6 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006326/0.01275, allocations: 1.684 MB / 0.9871 GB, free: 13.53 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.01279, allocations: 23.94 kB / 0.9871 GB, free: 13.5 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.603e-05/0.01287, allocations: 39.94 kB / 0.9871 GB, free: 13.46 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.01292, allocations: 43.83 kB / 0.9872 GB, free: 13.42 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.414e-05/0.013, allocations: 59.86 kB / 0.9872 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.01334, allocations: 239.3 kB / 0.9875 GB, free: 13.13 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01334, allocations: 0 / 0.9875 GB, free: 13.13 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01334, allocations: 0 / 0.9875 GB, free: 13.13 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.01335, allocations: 0 / 0.9875 GB, free: 13.13 MB / 0.948 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.0006284/0.01398, allocations: 0.4888 MB / 0.9879 GB, free: 12.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.01402, allocations: 12.03 kB / 0.988 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.01408, allocations: 28.77 kB / 0.988 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.0143, allocations: 178 kB / 0.9882 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.01432, allocations: 16.38 kB / 0.9882 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.01434, allocations: 19.94 kB / 0.9882 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.01448, allocations: 85.66 kB / 0.9883 GB, free: 12.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.01449, allocations: 7.938 kB / 0.9883 GB, free: 12.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.01451, allocations: 3.984 kB / 0.9883 GB, free: 12.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.01451, allocations: 3.938 kB / 0.9883 GB, free: 12.22 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.671e-05/0.0146, allocations: 55.92 kB / 0.9883 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.01511, allocations: 372.2 kB / 0.9887 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.01537, allocations: 126.7 kB / 0.9888 GB, free: 11.64 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.01542, allocations: 28.84 kB / 0.9888 GB, free: 11.61 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.01543, allocations: 8 kB / 0.9889 GB, free: 11.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.01556, allocations: 111.4 kB / 0.989 GB, free: 11.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.203e-06/0.01557, allocations: 0 / 0.989 GB, free: 11.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0002566/0.01582, allocations: 172.9 kB / 0.9891 GB, free: 11.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.01586, allocations: 55.34 kB / 0.9892 GB, free: 11.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.01599, allocations: 205 kB / 0.9894 GB, free: 11.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.01602, allocations: 33.69 kB / 0.9894 GB, free: 10.99 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.01609, allocations: 120.6 kB / 0.9895 GB, free: 10.87 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.01612, allocations: 31.73 kB / 0.9895 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.01618, allocations: 61.67 kB / 0.9896 GB, free: 10.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.01628, allocations: 334.8 kB / 0.9899 GB, free: 10.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.787e-05/0.01633, allocations: 31.98 kB / 0.99 GB, free: 10.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.01653, allocations: 234.4 kB / 0.9902 GB, free: 10.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.01664, allocations: 102.4 kB / 0.9903 GB, free: 10.01 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01664, allocations: 0 / 0.9903 GB, free: 10.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001682/0.01681, allocations: 165.3 kB / 0.9904 GB, free: 9.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.01682, allocations: 4 kB / 0.9904 GB, free: 9.836 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01683, allocations: 0 / 0.9904 GB, free: 9.836 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.01684, allocations: 4 kB / 0.9904 GB, free: 9.832 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.01689, allocations: 15.98 kB / 0.9905 GB, free: 9.816 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01689, allocations: 3.938 kB / 0.9905 GB, free: 9.812 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.017, allocations: 27.88 kB / 0.9905 GB, free: 9.785 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01701, allocations: 15.94 kB / 0.9905 GB, free: 9.77 MB / 0.948 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 9.058e-05/0.0171, allocations: 131.8 kB / 0.9906 GB, free: 9.633 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.01712, allocations: 23.88 kB / 0.9907 GB, free: 9.609 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.01715, allocations: 21.81 kB / 0.9907 GB, free: 9.586 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01716, allocations: 3.984 kB / 0.9907 GB, free: 9.582 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01716, allocations: 7.938 kB / 0.9907 GB, free: 9.574 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01716, allocations: 0 / 0.9907 GB, free: 9.574 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.01755, allocations: 413.8 kB / 0.9911 GB, free: 9.133 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01756, allocations: 0 / 0.9911 GB, free: 9.133 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.71e-05/0.01757, allocations: 15.92 kB / 0.9911 GB, free: 9.117 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.01758, allocations: 4 kB / 0.9911 GB, free: 9.113 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.01758, allocations: 4 kB / 0.9911 GB, free: 9.109 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01759, allocations: 4 kB / 0.9911 GB, free: 9.105 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01759, allocations: 0 / 0.9911 GB, free: 9.105 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.01774, allocations: 231.3 kB / 0.9913 GB, free: 8.863 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.01776, allocations: 15.91 kB / 0.9913 GB, free: 8.848 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.01777, allocations: 4 kB / 0.9913 GB, free: 8.844 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.01784, allocations: 11.98 kB / 0.9914 GB, free: 8.832 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.0179, allocations: 23.95 kB / 0.9914 GB, free: 8.809 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.01792, allocations: 8 kB / 0.9914 GB, free: 8.801 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.47e-05/0.018, allocations: 147.2 kB / 0.9915 GB, free: 8.656 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.018, allocations: 4 kB / 0.9915 GB, free: 8.652 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002004/0.0182, allocations: 51.89 kB / 0.9916 GB, free: 8.602 MB / 0.948 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.0002723/0.01848, allocations: 173.7 kB / 0.9917 GB, free: 8.449 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.01864, allocations: 99.83 kB / 0.9918 GB, free: 8.352 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01865, allocations: 3.938 kB / 0.9918 GB, free: 8.348 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.939e-05/0.01871, allocations: 43.92 kB / 0.9919 GB, free: 8.305 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.01897, allocations: 58.58 kB / 0.9919 GB, free: 8.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.01946, allocations: 335.3 kB / 0.9923 GB, free: 7.895 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.099e-05/0.01953, allocations: 112.1 kB / 0.9924 GB, free: 7.762 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.01958, allocations: 32.48 kB / 0.9924 GB, free: 7.73 MB / 0.948 GB Notification: Performance of SimCode: time 6.72e-07/0.01958, allocations: 0 / 0.9924 GB, free: 7.73 MB / 0.948 GB Notification: Performance of Templates: time 0.003837/0.02341, allocations: 3.287 MB / 0.9956 GB, free: 4.457 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.313294181600213]